From e947dec253ffa3cf21d59b78581de55b44cbc157 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Dec 2017 20:23:15 +0300 Subject: Remove default parameters from process.cpp --- src/test/testmain.cpp | 2 +- src/utils/process.h | 14 +++++++++----- 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 -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); -- cgit v1.2.3-70-g09d2