summaryrefslogtreecommitdiffstats
path: root/src/common/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util')
-rw-r--r--src/common/util/CountedPtr.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/util/CountedPtr.h b/src/common/util/CountedPtr.h
index d1a48a58..0f00be87 100644
--- a/src/common/util/CountedPtr.h
+++ b/src/common/util/CountedPtr.h
@@ -21,8 +21,7 @@
#include <cassert>
#include <cstddef>
-#ifdef DEBUG
-#define BOOST_SP_ENABLE_DEBUG_HOOKS 1
+#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
#include <iostream>
#include <list>
#include <algorithm>
@@ -47,7 +46,7 @@ namespace boost {
}
}
-#endif // DEBUG
+#endif // BOOST_SP_ENABLE_DEBUG_HOOKS
#include <boost/shared_ptr.hpp>