From 9fd6876204ab8058864a47894e80d2262a345c50 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9C=A4=ED=98=84=EC=8B=9D/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 15 Oct 2019 12:29:43 +0900 Subject: [PATCH] [exo] Using C++ 11 style static_assert (#8152) This modifies static_assert from c++ 17 style to c++ c++ 11 style. Signed-off-by: Hyun Sik Yoon --- compiler/exo/src/Pass/FuseConv2DAddSubPass.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/exo/src/Pass/FuseConv2DAddSubPass.cpp b/compiler/exo/src/Pass/FuseConv2DAddSubPass.cpp index 865cf62..67f9e2c 100644 --- a/compiler/exo/src/Pass/FuseConv2DAddSubPass.cpp +++ b/compiler/exo/src/Pass/FuseConv2DAddSubPass.cpp @@ -117,7 +117,8 @@ public: Fuser(TFLType *node) { static_assert(std::is_same::value || - std::is_same::value); + std::is_same::value, + "wrong template type"); _fusable_node = node; _graph = node->graph(); -- 2.7.4