summaryrefslogtreecommitdiff
path: root/lib/gras_impl/debug.hpp
diff options
context:
space:
mode:
authorJosh Blum2013-05-04 20:59:20 -0700
committerJosh Blum2013-05-04 20:59:20 -0700
commit5783540be045abf6ee46c9840de9ecb2457a5bd6 (patch)
treee0f65cff95deb7def9267754132a52b3b7f57cbf /lib/gras_impl/debug.hpp
parent734c3740c4ddccfbedf697edbd39021580fd51ce (diff)
downloadsandhi-5783540be045abf6ee46c9840de9ecb2457a5bd6.tar.gz
sandhi-5783540be045abf6ee46c9840de9ecb2457a5bd6.tar.bz2
sandhi-5783540be045abf6ee46c9840de9ecb2457a5bd6.zip
gras: fix nasty little error possibility when not asserting
Diffstat (limited to 'lib/gras_impl/debug.hpp')
-rw-r--r--lib/gras_impl/debug.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gras_impl/debug.hpp b/lib/gras_impl/debug.hpp
index 7934a1e..52c2e16 100644
--- a/lib/gras_impl/debug.hpp
+++ b/lib/gras_impl/debug.hpp
@@ -63,7 +63,7 @@ extern void *operator new(std::size_t n) throw (std::bad_alloc);
throw std::runtime_error(std::string("ASSERT FAIL ") + #x); \
}}
#else
-#define ASSERT(x)
+#define ASSERT(x) {}
#endif
#endif /*INCLUDED_LIBGRAS_IMPL_DEBUG_HPP*/