office-gobmx/external/boost/boost.wunused.patch
Caolán McNamara 350fa6154c bump boost from 1.54 to 1.55
Change-Id: I5c9d01fa1be54b81f2aedead5f55ae737fb25d5a
2014-01-07 15:59:24 +00:00

20 lines
880 B
Diff

--- foo/foo/foo/boost/multi_array/base.hpp
+++ foo/foo/foo/boost/multi_array/base.hpp
@@ -501,6 +501,7 @@
// the "far side" of the range (the top if stride is positive, the bottom
// if stride is negative).
index bound_adjustment = stride < 0 ? 1 : 0;
+ (void) bound_adjustment;
BOOST_ASSERT(((index_bases[n] - bound_adjustment) <= finish) &&
(finish <= (index_bases[n] + index(extents[n]) - bound_adjustment)));
#endif // BOOST_DISABLE_ASSERTS
--- foo/foo/foo/boost/unordered/detail/table.hpp
+++ foo/foo/foo/boost/unordered/detail/table.hpp
@@ -458,6 +458,7 @@
// According to 23.2.1.8, if propagate_on_container_swap is
// false the behaviour is undefined unless the allocators
// are equal.
+ (void) other;
BOOST_ASSERT(node_alloc() == other.node_alloc());
}