mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use string directly in call to Foam::system
This commit is contained in:
@ -102,7 +102,7 @@ void Foam::systemCall::execute()
|
||||
{
|
||||
forAll(executeCalls_, callI)
|
||||
{
|
||||
Foam::system(executeCalls_[callI].c_str());
|
||||
Foam::system(executeCalls_[callI]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -111,7 +111,7 @@ void Foam::systemCall::end()
|
||||
{
|
||||
forAll(endCalls_, callI)
|
||||
{
|
||||
Foam::system(endCalls_[callI].c_str());
|
||||
Foam::system(endCalls_[callI]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -120,7 +120,7 @@ void Foam::systemCall::write()
|
||||
{
|
||||
forAll(writeCalls_, callI)
|
||||
{
|
||||
Foam::system(writeCalls_[callI].c_str());
|
||||
Foam::system(writeCalls_[callI]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user