From a484411495b0a89a23e70973af043c64650022f9 Mon Sep 17 00:00:00 2001 From: liuqi Date: Fri, 1 Jun 2018 13:17:25 +0800 Subject: [PATCH] Fix mace_engine_factory import bug. --- mace/python/tools/mace_engine_factory.h.jinja2 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/mace/python/tools/mace_engine_factory.h.jinja2 b/mace/python/tools/mace_engine_factory.h.jinja2 index 41df3fc6..132d9e30 100644 --- a/mace/python/tools/mace_engine_factory.h.jinja2 +++ b/mace/python/tools/mace_engine_factory.h.jinja2 @@ -19,7 +19,6 @@ #include #include -#include "mace/core/macros.h" #include "mace/public/mace.h" #include "mace/public/mace_runtime.h" @@ -92,12 +91,12 @@ MaceStatus CreateMaceEngineFromCode( const std::vector &output_nodes, const DeviceType device_type, std::shared_ptr *engine) { - MACE_UNUSED(model_name); - MACE_UNUSED(model_data_file); - MACE_UNUSED(input_nodes); - MACE_UNUSED(output_nodes); - MACE_UNUSED(device_type); - MACE_UNUSED(engine); + (void)(model_name); + (void)(model_data_file); + (void)(input_nodes); + (void)(output_nodes); + (void)(device_type); + (void)(engine); return MaceStatus::MACE_INVALID_ARGS; } {% endif %} -- GitLab