diff options
Diffstat (limited to 'mv_machine_learning/object_detection/src/face_detection_adapter.cpp')
-rw-r--r-- | mv_machine_learning/object_detection/src/face_detection_adapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mv_machine_learning/object_detection/src/face_detection_adapter.cpp b/mv_machine_learning/object_detection/src/face_detection_adapter.cpp index 56ee5d90..99eaa95b 100644 --- a/mv_machine_learning/object_detection/src/face_detection_adapter.cpp +++ b/mv_machine_learning/object_detection/src/face_detection_adapter.cpp @@ -66,7 +66,7 @@ void FaceDetectionAdapter::create(string model_name) auto task_type = convertToTaskType(model_name); if (_config->isPluginUsed()) { - auto plugin_name = _config->getPluginFileName(); + const auto &plugin_name = _config->getPluginFileName(); _object_detection = make_unique<ObjectDetectionExternal>(task_type, plugin_name.c_str()); return; |