From 3a407bb6b73a186eafd99bcec570f88097c4b2e1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Sep 2012 19:11:53 +0300 Subject: Add const to more classes. --- src/utils/checkutils.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/utils/checkutils.cpp') 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); -- cgit v1.2.3-70-g09d2