projects
/
libbear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69b1022
)
added if debug comments to dassert
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Wed, 19 Aug 2009 03:47:31 +0000
(23:47 -0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Wed, 19 Aug 2009 03:47:31 +0000
(23:47 -0400)
lib/src/debug.cpp
patch
|
blob
|
blame
|
history
diff --git
a/lib/src/debug.cpp
b/lib/src/debug.cpp
index
57921a3
..
443b147
100644
(file)
--- 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 *****