mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-26 15:36:19 +01:00
use const references where appropriate
This commit is contained in:
@@ -702,7 +702,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