From b3285da68294e6849ef2d95c7077cff6b2dc35b6 Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Wed, 13 May 2020 15:57:51 +0900 Subject: [PATCH] Drop mBackendLibName member We can just use local varible instead of member one so drop it. Change-Id: I2f84e401b0af07a56b2bf1793d36da37980dceaf Signed-off-by: Inki Dae --- include/inference_engine_common_impl.h | 1 - src/inference_engine_common_impl.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/inference_engine_common_impl.h b/include/inference_engine_common_impl.h index 36c9bcc..c659c05 100755 --- a/include/inference_engine_common_impl.h +++ b/include/inference_engine_common_impl.h @@ -221,7 +221,6 @@ private: int CheckTensorBuffers(std::vector &buffers); int CheckLayerProperty(inference_engine_layer_property &property); - std::string mBackendLibName; inference_backend_type_e mSelectedBackendEngine; // Profiler diff --git a/src/inference_engine_common_impl.cpp b/src/inference_engine_common_impl.cpp index cc1d51b..b6707e2 100755 --- a/src/inference_engine_common_impl.cpp +++ b/src/inference_engine_common_impl.cpp @@ -208,9 +208,9 @@ int InferenceEngineCommon::BindBackend(inference_engine_config *config) mProfiler->Start(IE_PROFILER_MEMORY); } - mBackendLibName = "libinference-engine-" + config->backend_name + ".so"; + std::string backendLibName = "libinference-engine-" + config->backend_name + ".so"; - int ret = InitBackendEngine(mBackendLibName); + int ret = InitBackendEngine(backendLibName); if (ret != INFERENCE_ENGINE_ERROR_NONE) { return ret; } -- 2.34.1