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/utils/checkutils.cpp | |
parent | 872fc368f7b253f26714fc47323064f270b62b40 (diff) | |
download | ManaVerse-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.gz ManaVerse-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.bz2 ManaVerse-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.xz ManaVerse-3a407bb6b73a186eafd99bcec570f88097c4b2e1.zip |
Add const to more classes.
Diffstat (limited to 'src/utils/checkutils.cpp')
-rw-r--r-- | src/utils/checkutils.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/utils/checkutils.cpp b/src/utils/checkutils.cpp index abbc6138a..c943d8f36 100644 --- a/src/utils/checkutils.cpp +++ b/src/utils/checkutils.cpp @@ -26,14 +26,16 @@ #include "debug.h" -bool reportFalseReal(bool val, const char* file, unsigned line) +bool reportFalseReal(const bool val, const char *const file, + const unsigned line) { if (!val) logger->log("Debug: false value at %s:%u", file, line); return val; } -bool reportTrueReal(bool val, const char* file, unsigned line) +bool reportTrueReal(const bool val, const char *const file, + const unsigned line) { if (val) logger->log("Debug: true value at %s:%u", file, line); |