aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-06-05 07:00:57 +0200
committerWladimir J. van der Laan <[email protected]>2015-06-05 07:11:44 +0200
commit3fce72eaa3ea75aa911e32c4d96313848338cede (patch)
tree8604bec497a9137315589e468ba8f79e1f7a0fd7 /src/util.cpp
parentMerge pull request #6234 (diff)
parentuse const references where appropriate (diff)
downloaddiscoin-3fce72eaa3ea75aa911e32c4d96313848338cede.tar.xz
discoin-3fce72eaa3ea75aa911e32c4d96313848338cede.zip
Merge pull request #6206
a9ac95c use const references where appropriate (Philip Kaufmann)
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 33b5ee950..da5821e53 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -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)