diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-04 19:11:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-04 19:11:53 +0300 |
commit | 3a407bb6b73a186eafd99bcec570f88097c4b2e1 (patch) | |
tree | ea57a752c348ba0a883294855ad3c62c16e9749d /src/test/testmain.h | |
parent | 872fc368f7b253f26714fc47323064f270b62b40 (diff) | |
download | manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.gz manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.bz2 manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.xz manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.zip |
Add const to more classes.
Diffstat (limited to 'src/test/testmain.h')
-rw-r--r-- | src/test/testmain.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/testmain.h b/src/test/testmain.h index 281cdab3a..ddb10c7c4 100644 --- a/src/test/testmain.h +++ b/src/test/testmain.h @@ -31,9 +31,9 @@ class TestMain public: TestMain(); - int exec(bool testAudio = true); + int exec(const bool testAudio = true); - static int readValue(int ver, int def); + static int readValue(const int ver, int def); Configuration &getConfig() { return mConfig; } @@ -57,10 +57,10 @@ class TestMain void testsMain(); - void writeConfig(int openGLMode, int rescale, - int sound, std::string info); + void writeConfig(const int openGLMode, const int rescale, + const int sound, const std::string &info); - int readValue2(int ver); + int readValue2(const int ver); Logger *log; |