From: David Wells Date: Sun, 23 Oct 2016 12:32:06 +0000 (-0400) Subject: Silence a missing initializer warning in boost. X-Git-Tag: v8.5.0-rc1~535^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cb6b74710e7193f6357c718156c070066342921;p=dealii.git Silence a missing initializer warning in boost. This shows up in GCC 4.8. --- diff --git a/bundled/boost-1.62.0/include/boost/atomic/detail/bitwise_cast.hpp b/bundled/boost-1.62.0/include/boost/atomic/detail/bitwise_cast.hpp index 8654d10b95..7455ce21be 100644 --- a/bundled/boost-1.62.0/include/boost/atomic/detail/bitwise_cast.hpp +++ b/bundled/boost-1.62.0/include/boost/atomic/detail/bitwise_cast.hpp @@ -36,7 +36,7 @@ BOOST_FORCEINLINE To bitwise_cast(From const& from) BOOST_NOEXCEPT { To to; } - value = {}; + value = {To()}; BOOST_ATOMIC_DETAIL_MEMCPY ( &reinterpret_cast< char& >(value.to),