From 756f99de5db78dcd6dd2a74bed48a39b143399bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 27 Aug 2019 10:23:00 +0900 Subject: [PATCH] [locop] Replace deprecated FixedArityNode class (#6927) This commit revises locop to use FixedArity mix-in instead of deprecated FixedArityNode class. Signed-off-by: Jonghyun Park --- compiler/locop/src/FormattedGraph.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/locop/src/FormattedGraph.test.cpp b/compiler/locop/src/FormattedGraph.test.cpp index 6136390..b0d9589 100644 --- a/compiler/locop/src/FormattedGraph.test.cpp +++ b/compiler/locop/src/FormattedGraph.test.cpp @@ -81,7 +81,7 @@ TEST(LinearV1FormatterTest, user_defined_node_summary_builder) // This test shows how to compose two node summary builders. TEST(LinearV1FormatterTest, node_summary_builder_composition) { - struct MyNode : public loco::FixedArityNode<0, loco::Node> + struct MyNode : public loco::FixedArity<0>::Mixin { uint32_t opnum(void) const final { return 0; } const loco::Dialect *dialect(void) const final { return nullptr; }; -- 2.7.4