]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[bos #37341][CEA] KERNEL_SALOME_COMMAND_TestLauncherSimple. Fixed compilation error...
authorKonstantin Leontev <Konstantin.LEONTEV@opencascade.com>
Fri, 1 Sep 2023 15:28:03 +0000 (11:28 -0400)
committerKonstantin Leontev <Konstantin.LEONTEV@opencascade.com>
Fri, 1 Sep 2023 15:28:03 +0000 (11:28 -0400)
src/Container/SALOME_ContainerManager.cxx

index 013d25d5c0ecc299b4ebda798d5c5f778512f519..15bc6edec3f2bd24ee520a60455168b13cbba5f8 100644 (file)
@@ -284,7 +284,7 @@ void SALOME_ContainerManager::SetOverrideEnvForContainers(const Engines::KeyValD
   this->_override_env.clear();
   auto sz = env.length();
   for(auto i = 0 ; i < sz ; ++i)
-    _override_env.emplace_back( std::pair<std::string, std::string>(env[i].key,env[i].val) );
+    _override_env.emplace_back(env[i].key.in(), env[i].val.in());
 }
 
 Engines::KeyValDict *SALOME_ContainerManager::GetOverrideEnvForContainers()