From 5fb0a7124116399c36d55726aa9de3ab95bc9f8b Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@Germany> Date: Thu, 24 Feb 2011 08:56:59 +0100 Subject: [PATCH] STYLE: use string directly in call to Foam::system --- src/postProcessing/functionObjects/systemCall/systemCall.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/postProcessing/functionObjects/systemCall/systemCall.C b/src/postProcessing/functionObjects/systemCall/systemCall.C index 664589750cf..0a9d8256444 100644 --- a/src/postProcessing/functionObjects/systemCall/systemCall.C +++ b/src/postProcessing/functionObjects/systemCall/systemCall.C @@ -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]); } } -- GitLab