mirror of
https://github.com/boostorg/multi_array.git
synced 2025-05-11 13:23:52 +00:00
Modified fix for sergiud, for warning-less compilation on MSVC12.0 at level 4
in release mode. Fixes #2
This commit is contained in:
parent
013ed850c5
commit
83493ba231
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user