diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 00:18:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 00:18:11 +0300 |
commit | 4029b40e800eb8654e6896576c521137835c55e2 (patch) | |
tree | 42403c484bf2112db5c5627a01371743919fdd0a /src/utils/checkutils.cpp | |
parent | 0c97cbd3ab4a6f425e42c2413d7dfe06c2da014e (diff) | |
download | plus-4029b40e800eb8654e6896576c521137835c55e2.tar.gz plus-4029b40e800eb8654e6896576c521137835c55e2.tar.bz2 plus-4029b40e800eb8654e6896576c521137835c55e2.tar.xz plus-4029b40e800eb8654e6896576c521137835c55e2.zip |
Move report defines from debug.h into checkutils.h
Diffstat (limited to 'src/utils/checkutils.cpp')
-rw-r--r-- | src/utils/checkutils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/checkutils.cpp b/src/utils/checkutils.cpp index 7b30b347a..8aa82bc11 100644 --- a/src/utils/checkutils.cpp +++ b/src/utils/checkutils.cpp @@ -18,6 +18,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef ENABLE_ASSERTS + #include "utils/checkutils.h" #include "logger.h" @@ -39,3 +41,5 @@ bool reportTrueReal(const bool val, const char *const file, logger->log("Debug: true value at %s:%u", file, line); return val; } + +#endif // ENABLE_ASSERTS |