From: Matthias Maier Date: Mon, 20 Apr 2015 14:00:35 +0000 (+0200) Subject: Explicitly call default constructor to silence a bogus warning X-Git-Tag: v8.3.0-rc1~230^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F848%2Fhead;p=dealii.git Explicitly call default constructor to silence a bogus warning This fixes a bogus warning emitted by gcc 4.8 and 4.9 about a possible uninitialized member object --- diff --git a/bundled/boost-1.56.0/include/boost/archive/iterators/istream_iterator.hpp b/bundled/boost-1.56.0/include/boost/archive/iterators/istream_iterator.hpp index 41aa0be37b..e3432c2ddd 100644 --- a/bundled/boost-1.56.0/include/boost/archive/iterators/istream_iterator.hpp +++ b/bundled/boost-1.56.0/include/boost/archive/iterators/istream_iterator.hpp @@ -84,13 +84,15 @@ class istream_iterator : Elem m_current_value; public: istream_iterator(istream_type & is) : - m_istream(& is) + m_istream(& is), + m_current_value() { //increment(); } istream_iterator() : - m_istream(NULL) + m_istream(NULL), + m_current_value() {} istream_iterator(const istream_iterator & rhs) :