diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-01 15:14:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-01 23:42:37 +0300 |
commit | f9030497b6196ce2fadb6b6ada5d784be227d9a6 (patch) | |
tree | d11408b35d0860709d31e6520578cdd28391f151 /src/test/testmain.cpp | |
parent | f52ca7838789a6910840597a929ecf6e0be9e1de (diff) | |
download | manaverse-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.gz manaverse-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.bz2 manaverse-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.xz manaverse-f9030497b6196ce2fadb6b6ada5d784be227d9a6.zip |
Add missing const.
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r-- | src/test/testmain.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp index fbd7588ef..cae4aa3b7 100644 --- a/src/test/testmain.cpp +++ b/src/test/testmain.cpp @@ -274,7 +274,7 @@ int TestMain::readValue(const int ver, int def) return def; } -int TestMain::invokeTest(std::string test) +int TestMain::invokeTest(const std::string &test) { mConfig.setValue("opengl", static_cast<int>(RENDER_SOFTWARE)); @@ -292,7 +292,7 @@ int TestMain::invokeTest4() return ret; } -int TestMain::invokeSoftwareRenderTest(std::string test) +int TestMain::invokeSoftwareRenderTest(const std::string &test) { mConfig.setValue("opengl", static_cast<int>(RENDER_SOFTWARE)); mConfig.write(); @@ -301,7 +301,7 @@ int TestMain::invokeSoftwareRenderTest(std::string test) return ret; } -int TestMain::invokeFastOpenGLRenderTest(std::string test) +int TestMain::invokeFastOpenGLRenderTest(const std::string &test) { mConfig.setValue("opengl", static_cast<int>(RENDER_NORMAL_OPENGL)); mConfig.write(); @@ -310,7 +310,7 @@ int TestMain::invokeFastOpenGLRenderTest(std::string test) return ret; } -int TestMain::invokeFastOpenBatchTest(std::string test) +int TestMain::invokeFastOpenBatchTest(const std::string &test) { mConfig.setValue("opengl", static_cast<int>(RENDER_NORMAL_OPENGL)); mConfig.write(); @@ -319,7 +319,7 @@ int TestMain::invokeFastOpenBatchTest(std::string test) return ret; } -int TestMain::invokeSafeOpenGLRenderTest(std::string test) +int TestMain::invokeSafeOpenGLRenderTest(const std::string &test) { mConfig.setValue("opengl", static_cast<int>(RENDER_SAFE_OPENGL)); mConfig.write(); |