use const references where appropriate
This commit is contained in:
committed by
Jack Grigg
parent
5e478618e6
commit
db954a65ac
@@ -770,7 +770,7 @@ boost::filesystem::path GetTempPath() {
|
||||
#endif
|
||||
}
|
||||
|
||||
void runCommand(std::string strCommand)
|
||||
void runCommand(const std::string& strCommand)
|
||||
{
|
||||
int nErr = ::system(strCommand.c_str());
|
||||
if (nErr)
|
||||
|
||||
Reference in New Issue
Block a user