From: Konstantin Leontev Date: Fri, 1 Sep 2023 15:28:03 +0000 (-0400) Subject: [bos #37341][CEA] KERNEL_SALOME_COMMAND_TestLauncherSimple. Fixed compilation error... X-Git-Tag: V9_12_0a1~4^2~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c45cc05c9e35d92dc2142ea75fbf1c96659173aa;p=modules%2Fkernel.git [bos #37341][CEA] KERNEL_SALOME_COMMAND_TestLauncherSimple. Fixed compilation error on CenOS7. --- diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 013d25d5c..15bc6edec 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -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(env[i].key,env[i].val) ); + _override_env.emplace_back(env[i].key.in(), env[i].val.in()); } Engines::KeyValDict *SALOME_ContainerManager::GetOverrideEnvForContainers()