projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added DASSERT
[physics.git]
/
src
/
debug.cpp
diff --git
a/src/debug.cpp
b/src/debug.cpp
index
5c8baeb
..
4e659d2
100644
(file)
--- a/
src/debug.cpp
+++ b/
src/debug.cpp
@@
-22,6
+22,8
@@
using std::cerr;
using std::cout;
using std::endl;
+#include <assert.h>
+
#include "locks/Mutex.h"
#include "locks/Autolock.h"
@@
-46,4
+48,9
@@
void debug::clean()
muDPF.clean();
}
+void DASSERT(bool fBreak)
+{
+ assert(fBreak);
+}
+
/// ***** Private Methods *****