From: Daniel Arndt Date: Sat, 12 Aug 2017 15:55:19 +0000 (+0200) Subject: Describe the suppressed warning X-Git-Tag: v9.0.0-rc1~1290^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4781%2Fhead;p=dealii.git Describe the suppressed warning --- diff --git a/bundled/boost-1.62.0/include/boost/signals2/detail/auto_buffer.hpp b/bundled/boost-1.62.0/include/boost/signals2/detail/auto_buffer.hpp index 4059925c77..f11443d92b 100644 --- a/bundled/boost-1.62.0/include/boost/signals2/detail/auto_buffer.hpp +++ b/bundled/boost-1.62.0/include/boost/signals2/detail/auto_buffer.hpp @@ -304,7 +304,9 @@ namespace detail (*this).~auto_buffer(); buffer_ = new_buffer; members_.capacity_ = new_capacity; - size_ = std::max(static_cast(0),size_); + // Make sure size_ is initialized. After calling the dectructor + // the size should be zero. + size_ = 0; BOOST_ASSERT( size_ <= members_.capacity_ ); }