mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
remove unneeded creation of temporary string object [ci skip]
can be assigned as is
This commit is contained in:
@ -100,7 +100,7 @@ execute::execute
|
||||
parseCommandList(commandList_, labelList_, scalarList_, command_, propsDict_, timeStamp_);
|
||||
Info << "liggghtsCommand " << command_ << endl;
|
||||
|
||||
strCommand_ = string(command_);
|
||||
strCommand_ = command_;
|
||||
|
||||
checkTimeMode(propsDict_);
|
||||
|
||||
|
||||
@ -109,7 +109,7 @@ writeLiggghts::writeLiggghts
|
||||
command_ += " " + path_ + "/" + writeName_;
|
||||
if (overwrite_)
|
||||
{
|
||||
strCommand_=string(command_);
|
||||
strCommand_ = command_;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user