summaryrefslogtreecommitdiff
path: root/boost/multi_array/base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/multi_array/base.hpp')
-rw-r--r--boost/multi_array/base.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/boost/multi_array/base.hpp b/boost/multi_array/base.hpp
index 34e325b20f..62e5397284 100644
--- a/boost/multi_array/base.hpp
+++ b/boost/multi_array/base.hpp
@@ -463,6 +463,7 @@ protected:
index bound_adjustment = stride < 0 ? 1 : 0;
BOOST_ASSERT(((index_bases[n] - bound_adjustment) <= finish) &&
(finish <= (index_bases[n] + index(extents[n]) - bound_adjustment)));
+ ignore_unused_variable_warning(bound_adjustment);
#endif // BOOST_DISABLE_ASSERTS