Quench warnings in systemCall FO - Full recompile!
This commit is contained in:
parent
c0dc374d98
commit
7fdaad2bde
3 changed files with 5 additions and 5 deletions
|
@ -1011,7 +1011,7 @@ bool Foam::ping(const word& hostname, const label timeOut)
|
|||
}
|
||||
|
||||
|
||||
int Foam::system(const string& command)
|
||||
int Foam::system(const std::string& command)
|
||||
{
|
||||
return ::system(command.c_str());
|
||||
}
|
||||
|
|
|
@ -173,7 +173,7 @@ bool ping(const word&, const label port, const label timeOut);
|
|||
bool ping(const word&, const label timeOut = 10);
|
||||
|
||||
//- Execute the specified command
|
||||
int system(const string& command);
|
||||
int system(const std::string& command);
|
||||
|
||||
// Low level random numbers. Use Random class instead.
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ void Foam::systemCall::execute()
|
|||
{
|
||||
forAll(executeCalls_, callI)
|
||||
{
|
||||
::system(executeCalls_[callI].c_str());
|
||||
Foam::system(executeCalls_[callI]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ void Foam::systemCall::end()
|
|||
{
|
||||
forAll(endCalls_, callI)
|
||||
{
|
||||
::system(endCalls_[callI].c_str());
|
||||
Foam::system(endCalls_[callI]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -99,7 +99,7 @@ void Foam::systemCall::write()
|
|||
{
|
||||
forAll(writeCalls_, callI)
|
||||
{
|
||||
::system(writeCalls_[callI].c_str());
|
||||
Foam::system(writeCalls_[callI]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue