summaryrefslogtreecommitdiff
path: root/boost/circular_buffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/circular_buffer.hpp')
-rw-r--r--boost/circular_buffer.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/boost/circular_buffer.hpp b/boost/circular_buffer.hpp
index f5eff60f08..7cf8928bc0 100644
--- a/boost/circular_buffer.hpp
+++ b/boost/circular_buffer.hpp
@@ -20,10 +20,8 @@
#include <boost/static_assert.hpp>
// BOOST_CB_ENABLE_DEBUG: Debug support control.
-#if defined(NDEBUG) || defined(BOOST_CB_DISABLE_DEBUG)
+#if !defined(BOOST_CB_ENABLE_DEBUG)
#define BOOST_CB_ENABLE_DEBUG 0
-#else
- #define BOOST_CB_ENABLE_DEBUG 1
#endif
// BOOST_CB_ASSERT: Runtime assertion.
@@ -60,6 +58,5 @@
#undef BOOST_CB_ASSERT_TEMPLATED_ITERATOR_CONSTRUCTORS
#undef BOOST_CB_IS_CONVERTIBLE
#undef BOOST_CB_ASSERT
-#undef BOOST_CB_ENABLE_DEBUG
#endif // #if !defined(BOOST_CIRCULAR_BUFFER_HPP)