-// Copyright (C) 2019 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2019-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
throw SALOME_LauncherException(oss2.str());
}
std::vector<std::string> cmd(command_list.length());
- const char *toto(command_list[0]);
- for(auto i=0;i<command_list.length();i++)
+ for(size_t i=0;i<command_list.length();i++)
cmd[i] = command_list[i];
long pid(0);
try
std::vector<std::string> loes(ListOfExternalServersCpp(_NS));
std::size_t sz(loes.size());
ret->length(sz);
- for(auto i = 0; i<sz ; i++)
+ for(size_t i=0; i<sz; i++)
{
(*ret)[i]=CORBA::string_dup(loes[i].c_str());
}
//
std::unique_ptr<SALOME::ByteVec> ret(new SALOME::ByteVec);
ret->length(size);
- for(std::size_t i=0;i<size;++i)
+ for(size_t i=0;i<size;++i)
(*ret)[i] = buffer.get()[i];
//
if( unlink(file_name)!=0 )