From 372419c238551ddf66ae56d0d99ce963bf94db9e Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Tue, 18 Aug 2009 23:47:31 -0400 Subject: [PATCH] added if debug comments to dassert --- lib/src/debug.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/debug.cpp b/lib/src/debug.cpp index 57921a3..443b147 100644 --- a/lib/src/debug.cpp +++ b/lib/src/debug.cpp @@ -83,7 +83,11 @@ void bear::DPF(int iLevel, const char* pstr) void bear::DASSERT(bool fAssert) { +//#ifdef DEBUG assert(fAssert); +//#else +// (void)fAssert; +//#endif } /// ***** Private Methods ***** -- 2.10.2