diff --git a/engine/services/engine_service.cc b/engine/services/engine_service.cc index 39e6e7961..c6b107af3 100644 --- a/engine/services/engine_service.cc +++ b/engine/services/engine_service.cc @@ -763,8 +763,8 @@ cpp::result EngineService::LoadEngine( // register deps if (!(getenv("ENGINE_PATH"))) { std::vector paths{}; - paths.push_back(std::move(cuda_path)); - paths.push_back(std::move(engine_dir_path)); + paths.push_back(cuda_path); + paths.push_back(engine_dir_path); CTL_DBG("Registering dylib for " << ne << " with " << std::to_string(paths.size()) << " paths."); @@ -830,8 +830,8 @@ void EngineService::RegisterEngineLibPath() { // register deps std::vector paths{}; - paths.push_back(std::move(cuda_path)); - paths.push_back(std::move(engine_dir_path)); + paths.push_back(cuda_path); + paths.push_back(engine_dir_path); CTL_DBG("Registering dylib for " << ne << " with " << std::to_string(paths.size()) << " paths.");