remove unneeded creation of temporary string object [ci skip]

can be assigned as is
This commit is contained in:
danielque
2019-08-08 10:41:05 +02:00
parent 889f44803d
commit 85b116eeb2
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ execute::execute
parseCommandList(commandList_, labelList_, scalarList_, command_, propsDict_, timeStamp_);
Info << "liggghtsCommand " << command_ << endl;
strCommand_ = string(command_);
strCommand_ = command_;
checkTimeMode(propsDict_);

View File

@ -109,7 +109,7 @@ writeLiggghts::writeLiggghts
command_ += " " + path_ + "/" + writeName_;
if (overwrite_)
{
strCommand_=string(command_);
strCommand_ = command_;
}
else
{