summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 20:23:15 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 20:23:15 +0300
commite947dec253ffa3cf21d59b78581de55b44cbc157 (patch)
tree37258ccbae91b46842e831864e2b1be99246e509
parenta1bfd4d5dfafde544d9a067e429939a4505ed020 (diff)
downloadplus-e947dec253ffa3cf21d59b78581de55b44cbc157.tar.gz
plus-e947dec253ffa3cf21d59b78581de55b44cbc157.tar.bz2
plus-e947dec253ffa3cf21d59b78581de55b44cbc157.tar.xz
plus-e947dec253ffa3cf21d59b78581de55b44cbc157.zip
Remove default parameters from process.cpp
-rw-r--r--src/test/testmain.cpp2
-rw-r--r--src/utils/process.h14
2 files changed, 10 insertions, 6 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index 0d75cae7b..945aec73b 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -344,7 +344,7 @@ int TestMain::invokeTest(const std::string &test)
mConfig.setValue("opengl", CAST_S32(RENDER_SOFTWARE));
mConfig.write();
- const int ret = execFileWait(fileName, fileName, "-t", test);
+ const int ret = execFileWait(fileName, fileName, "-t", test, 0);
return ret;
}
diff --git a/src/utils/process.h b/src/utils/process.h
index bf622c15b..cbb0f73b7 100644
--- a/src/utils/process.h
+++ b/src/utils/process.h
@@ -23,12 +23,16 @@
#include <string>
-int execFileWait(const std::string &pathName, const std::string &name,
- const std::string &arg1, const std::string &arg2,
- int waitTime = 0);
+int execFileWait(const std::string &pathName,
+ const std::string &name,
+ const std::string &arg1,
+ const std::string &arg2,
+ int waitTime);
-bool execFile(const std::string &pathName, const std::string &name,
- const std::string &arg1, const std::string &arg2);
+bool execFile(const std::string &pathName,
+ const std::string &name,
+ const std::string &arg1,
+ const std::string &arg2);
bool openBrowser(std::string url);