summaryrefslogtreecommitdiff
path: root/src/piraha/smart_ptr.hpp
diff options
context:
space:
mode:
authorsbrandt <sbrandt@17b73243-c579-4c4c-a9d2-2d5706c11dac>2014-02-18 17:56:10 +0000
committersbrandt <sbrandt@17b73243-c579-4c4c-a9d2-2d5706c11dac>2014-02-18 17:56:10 +0000
commit375a3181eca67ade911daab563ff02cef15ddda4 (patch)
tree516108ec7b9072b790a9bbb66d25ec711827d321 /src/piraha/smart_ptr.hpp
parent7bab271c2b988a8feb0e2aed226fbe563bdc674f (diff)
Make it possible to parse very large paramter files and to do it quickly.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@5086 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/piraha/smart_ptr.hpp')
-rw-r--r--src/piraha/smart_ptr.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/piraha/smart_ptr.hpp b/src/piraha/smart_ptr.hpp
index 71e3b4d6..38c34b42 100644
--- a/src/piraha/smart_ptr.hpp
+++ b/src/piraha/smart_ptr.hpp
@@ -8,6 +8,8 @@
#define NULL ((void*)0)
#endif
+#define NDEBUG
+
namespace cctki_piraha {
// This global debug variable is used to detect the case
@@ -22,6 +24,7 @@ extern std::set<void*> *ptrs;
#ifndef NDEBUG
inline void add(void *t) {
+ abort();
if(t == NULL)
return;
if(ptrs == 0)