1.1 --- a/lemon/bits/debug_map.h Tue Dec 19 14:00:43 2006 +0000
1.2 +++ b/lemon/bits/debug_map.h Tue Dec 19 15:53:42 2006 +0000
1.3 @@ -37,6 +37,10 @@
1.4 ///\brief Vector based graph maps for debugging.
1.5 namespace lemon {
1.6
1.7 +#ifndef LEMON_STRICT_DEBUG_MAP
1.8 +#define LEMON_STRICT_DEBUG_MAP false
1.9 +#endif
1.10 +
1.11 /// \ingroup graphbits
1.12 ///
1.13 /// \brief Graph map based on the std::vector storage.
1.14 @@ -66,7 +70,7 @@
1.15
1.16 public:
1.17
1.18 - static const bool strictCheck = false;
1.19 + static const bool strictCheck = LEMON_STRICT_DEBUG_MAP;
1.20
1.21 struct MapError {
1.22 public:
2.1 --- a/lemon/bits/default_map.h Tue Dec 19 14:00:43 2006 +0000
2.2 +++ b/lemon/bits/default_map.h Tue Dec 19 15:53:42 2006 +0000
2.3 @@ -31,7 +31,7 @@
2.4 namespace lemon {
2.5
2.6
2.7 -#ifndef _GLIBCXX_DEBUG
2.8 +#ifndef LEMON_USE_DEBUG_MAP
2.9
2.10 template <typename _Graph, typename _Item, typename _Value>
2.11 struct DefaultMapSelector {