From c931605cb04172c67381082330896e357ef968f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9D=B4=ED=95=9C=EC=A2=85/On-Device=20Lab=28SR=29/Enginee?= =?utf8?q?r/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 12 Aug 2019 09:49:52 +0900 Subject: [PATCH] [neurun] Remove empty override in ParamChecker (#6454) Remove empty override(AddNode) in ParamChecker. Signed-off-by: Hanjoung Lee --- runtimes/neurun/core/src/compiler/ParamChecker.cc | 5 ----- runtimes/neurun/core/src/compiler/ParamChecker.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/runtimes/neurun/core/src/compiler/ParamChecker.cc b/runtimes/neurun/core/src/compiler/ParamChecker.cc index ec5a17f..10bfa1e 100644 --- a/runtimes/neurun/core/src/compiler/ParamChecker.cc +++ b/runtimes/neurun/core/src/compiler/ParamChecker.cc @@ -29,10 +29,5 @@ void ParamChecker::operator()() [&](const model::OperationIndex &, const model::Operation &node) { node.accept(*this); }); } -void ParamChecker::visit(const model::operation::AddNode &) -{ - // DO NOTHING -} - } // namespace compiler } // namespace neurun diff --git a/runtimes/neurun/core/src/compiler/ParamChecker.h b/runtimes/neurun/core/src/compiler/ParamChecker.h index f144e3c..82f4669 100644 --- a/runtimes/neurun/core/src/compiler/ParamChecker.h +++ b/runtimes/neurun/core/src/compiler/ParamChecker.h @@ -62,9 +62,6 @@ public: */ bool haveNoneConstParam(void) { return _nonConstParam; } -public: - void visit(const model::operation::AddNode &node) override; - private: const std::shared_ptr _model; bool _nonConstParam{false}; -- 2.7.4