From: 박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 Date: Tue, 27 Aug 2019 01:23:00 +0000 (+0900) Subject: [locop] Replace deprecated FixedArityNode class (#6927) X-Git-Tag: accepted/tizen/unified/20190903.052428~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=756f99de5db78dcd6dd2a74bed48a39b143399bc;p=platform%2Fcore%2Fml%2Fnnfw.git [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 --- 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; };