From: Daniel Arndt Date: Thu, 18 Jul 2019 20:08:26 +0000 (-0400) Subject: Add override X-Git-Tag: v9.2.0-rc1~1337^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a07b17084519aa11382cf3ea80be00244d21adc9;p=dealii.git Add override --- diff --git a/bundled/boost-1.70.0/include/boost/any.hpp b/bundled/boost-1.70.0/include/boost/any.hpp index f161b3ff17..e24f130ca1 100644 --- a/bundled/boost-1.70.0/include/boost/any.hpp +++ b/bundled/boost-1.70.0/include/boost/any.hpp @@ -183,12 +183,12 @@ namespace boost #endif public: // queries - virtual const boost::typeindex::type_info& type() const BOOST_NOEXCEPT + virtual const boost::typeindex::type_info& type() const BOOST_NOEXCEPT override { return boost::typeindex::type_id().type_info(); } - virtual placeholder * clone() const + virtual placeholder * clone() const override { return new holder(held); } @@ -234,7 +234,7 @@ namespace boost #endif { public: - virtual const char * what() const BOOST_NOEXCEPT_OR_NOTHROW + virtual const char * what() const BOOST_NOEXCEPT_OR_NOTHROW override { return "boost::bad_any_cast: " "failed conversion using boost::any_cast"; diff --git a/bundled/boost-1.70.0/include/boost/archive/archive_exception.hpp b/bundled/boost-1.70.0/include/boost/archive/archive_exception.hpp index fabcdb5fa7..e544c06faa 100644 --- a/bundled/boost-1.70.0/include/boost/archive/archive_exception.hpp +++ b/bundled/boost-1.70.0/include/boost/archive/archive_exception.hpp @@ -89,7 +89,7 @@ public: ) BOOST_NOEXCEPT; BOOST_ARCHIVE_DECL archive_exception(archive_exception const &) BOOST_NOEXCEPT ; virtual BOOST_ARCHIVE_DECL ~archive_exception() BOOST_NOEXCEPT_OR_NOTHROW ; - virtual BOOST_ARCHIVE_DECL const char * what() const BOOST_NOEXCEPT_OR_NOTHROW ; + virtual BOOST_ARCHIVE_DECL const char * what() const BOOST_NOEXCEPT_OR_NOTHROW override ; }; }// namespace archive diff --git a/bundled/boost-1.70.0/include/boost/archive/codecvt_null.hpp b/bundled/boost-1.70.0/include/boost/archive/codecvt_null.hpp index 3b39c8edef..a7e0480349 100644 --- a/bundled/boost-1.70.0/include/boost/archive/codecvt_null.hpp +++ b/bundled/boost-1.70.0/include/boost/archive/codecvt_null.hpp @@ -52,7 +52,7 @@ class codecvt_null; template<> class codecvt_null : public std::codecvt { - virtual bool do_always_noconv() const throw() { + virtual bool do_always_noconv() const throw() override { return true; } public: @@ -75,7 +75,7 @@ class BOOST_WARCHIVE_DECL codecvt_null : char * first2, char * last2, char * & next2 - ) const; + ) const override; virtual std::codecvt_base::result do_in( std::mbstate_t & state, @@ -85,11 +85,11 @@ class BOOST_WARCHIVE_DECL codecvt_null : wchar_t * first2, wchar_t * last2, wchar_t * & next2 - ) const; - virtual int do_encoding( ) const throw( ){ + ) const override; + virtual int do_encoding( ) const throw( ) override{ return sizeof(wchar_t) / sizeof(char); } - virtual int do_max_length( ) const throw( ){ + virtual int do_max_length( ) const throw( ) override{ return do_encoding(); } public: diff --git a/bundled/boost-1.70.0/include/boost/archive/detail/common_iarchive.hpp b/bundled/boost-1.70.0/include/boost/archive/detail/common_iarchive.hpp index 4176a8a5ef..eca293d1c5 100644 --- a/bundled/boost-1.70.0/include/boost/archive/detail/common_iarchive.hpp +++ b/bundled/boost-1.70.0/include/boost/archive/detail/common_iarchive.hpp @@ -42,22 +42,22 @@ class BOOST_SYMBOL_VISIBLE common_iarchive : friend class interface_iarchive; friend class basic_iarchive; private: - virtual void vload(version_type & t){ + virtual void vload(version_type & t) override{ * this->This() >> t; } - virtual void vload(object_id_type & t){ + virtual void vload(object_id_type & t) override{ * this->This() >> t; } - virtual void vload(class_id_type & t){ + virtual void vload(class_id_type & t) override{ * this->This() >> t; } - virtual void vload(class_id_optional_type & t){ + virtual void vload(class_id_optional_type & t) override{ * this->This() >> t; } - virtual void vload(tracking_type & t){ + virtual void vload(tracking_type & t) override{ * this->This() >> t; } - virtual void vload(class_name_type &s){ + virtual void vload(class_name_type &s) override{ * this->This() >> s; } protected: diff --git a/bundled/boost-1.70.0/include/boost/archive/detail/common_oarchive.hpp b/bundled/boost-1.70.0/include/boost/archive/detail/common_oarchive.hpp index f7428637e4..edd8c26dca 100644 --- a/bundled/boost-1.70.0/include/boost/archive/detail/common_oarchive.hpp +++ b/bundled/boost-1.70.0/include/boost/archive/detail/common_oarchive.hpp @@ -40,28 +40,28 @@ class BOOST_SYMBOL_VISIBLE common_oarchive : friend class interface_oarchive; friend class basic_oarchive; private: - virtual void vsave(const version_type t){ + virtual void vsave(const version_type t) override{ * this->This() << t; } - virtual void vsave(const object_id_type t){ + virtual void vsave(const object_id_type t) override{ * this->This() << t; } - virtual void vsave(const object_reference_type t){ + virtual void vsave(const object_reference_type t) override{ * this->This() << t; } - virtual void vsave(const class_id_type t){ + virtual void vsave(const class_id_type t) override{ * this->This() << t; } - virtual void vsave(const class_id_reference_type t){ + virtual void vsave(const class_id_reference_type t) override{ * this->This() << t; } - virtual void vsave(const class_id_optional_type t){ + virtual void vsave(const class_id_optional_type t) override{ * this->This() << t; } - virtual void vsave(const class_name_type & t){ + virtual void vsave(const class_name_type & t) override{ * this->This() << t; } - virtual void vsave(const tracking_type t){ + virtual void vsave(const tracking_type t) override{ * this->This() << t; } protected: diff --git a/bundled/boost-1.70.0/include/boost/archive/detail/iserializer.hpp b/bundled/boost-1.70.0/include/boost/archive/detail/iserializer.hpp index 98cd6a17f2..16e669d594 100644 --- a/bundled/boost-1.70.0/include/boost/archive/detail/iserializer.hpp +++ b/bundled/boost-1.70.0/include/boost/archive/detail/iserializer.hpp @@ -120,7 +120,7 @@ template class iserializer : public basic_iserializer { private: - virtual void destroy(/*const*/ void *address) const { + virtual void destroy(/*const*/ void *address) const override{ boost::serialization::access::destroy(static_cast(address)); } public: @@ -136,22 +136,22 @@ public: basic_iarchive & ar, void *x, const unsigned int file_version - ) const BOOST_USED; - virtual bool class_info() const { + ) const override BOOST_USED; + virtual bool class_info() const override { return boost::serialization::implementation_level< T >::value >= boost::serialization::object_class_info; } - virtual bool tracking(const unsigned int /* flags */) const { + virtual bool tracking(const unsigned int /* flags */) const override { return boost::serialization::tracking_level< T >::value == boost::serialization::track_always || ( boost::serialization::tracking_level< T >::value == boost::serialization::track_selectively && serialized_as_pointer()); } - virtual version_type version() const { + virtual version_type version() const override { return version_type(::boost::serialization::version< T >::value); } - virtual bool is_polymorphic() const { + virtual bool is_polymorphic() const override { return boost::is_polymorphic< T >::value; } virtual ~iserializer(){}; diff --git a/bundled/boost-1.70.0/include/boost/archive/detail/oserializer.hpp b/bundled/boost-1.70.0/include/boost/archive/detail/oserializer.hpp index 612e1f2cb1..fcbf0f1f47 100644 --- a/bundled/boost-1.70.0/include/boost/archive/detail/oserializer.hpp +++ b/bundled/boost-1.70.0/include/boost/archive/detail/oserializer.hpp @@ -119,20 +119,20 @@ public: virtual BOOST_DLLEXPORT void save_object_data( basic_oarchive & ar, const void *x - ) const BOOST_USED; - virtual bool class_info() const { + ) const override BOOST_USED; + virtual bool class_info() const override { return boost::serialization::implementation_level< T >::value >= boost::serialization::object_class_info; } - virtual bool tracking(const unsigned int /* flags */) const { + virtual bool tracking(const unsigned int /* flags */) const override { return boost::serialization::tracking_level< T >::value == boost::serialization::track_always || (boost::serialization::tracking_level< T >::value == boost::serialization::track_selectively && serialized_as_pointer()); } - virtual version_type version() const { + virtual version_type version() const override { return version_type(::boost::serialization::version< T >::value); } - virtual bool is_polymorphic() const { + virtual bool is_polymorphic() const override { return boost::is_polymorphic< T >::value; } virtual ~oserializer(){} diff --git a/bundled/boost-1.70.0/include/boost/archive/iterators/dataflow_exception.hpp b/bundled/boost-1.70.0/include/boost/archive/iterators/dataflow_exception.hpp index e3e18605b3..1feed10059 100644 --- a/bundled/boost-1.70.0/include/boost/archive/iterators/dataflow_exception.hpp +++ b/bundled/boost-1.70.0/include/boost/archive/iterators/dataflow_exception.hpp @@ -46,7 +46,7 @@ public: dataflow_exception(exception_code c = other_exception) : code(c) {} - virtual const char *what( ) const throw( ) + virtual const char *what( ) const throw( ) override { const char *msg = "unknown exception code"; switch(code){ diff --git a/bundled/boost-1.70.0/include/boost/detail/basic_pointerbuf.hpp b/bundled/boost-1.70.0/include/boost/detail/basic_pointerbuf.hpp index 85618f92ab..7b3c8c974a 100644 --- a/bundled/boost-1.70.0/include/boost/detail/basic_pointerbuf.hpp +++ b/bundled/boost-1.70.0/include/boost/detail/basic_pointerbuf.hpp @@ -55,9 +55,9 @@ protected: // Marking those functions with `inline` suppresses the warnings. // There must be no harm from marking virtual functions as inline: inline virtual // call can be inlined ONLY when the compiler knows the "exact class". - inline base_type* setbuf(char_type* s, streamsize n); - inline typename this_type::pos_type seekpos(pos_type sp, ::std::ios_base::openmode which); - inline typename this_type::pos_type seekoff(off_type off, ::std::ios_base::seekdir way, ::std::ios_base::openmode which); + inline base_type* setbuf(char_type* s, streamsize n) override; + inline typename this_type::pos_type seekpos(pos_type sp, ::std::ios_base::openmode which) override; + inline typename this_type::pos_type seekoff(off_type off, ::std::ios_base::seekdir way, ::std::ios_base::openmode which) override; private: basic_pointerbuf& operator=(const basic_pointerbuf&); diff --git a/bundled/boost-1.70.0/include/boost/detail/utf8_codecvt_facet.hpp b/bundled/boost-1.70.0/include/boost/detail/utf8_codecvt_facet.hpp index ad714c09e8..f1ace69f99 100644 --- a/bundled/boost-1.70.0/include/boost/detail/utf8_codecvt_facet.hpp +++ b/bundled/boost-1.70.0/include/boost/detail/utf8_codecvt_facet.hpp @@ -124,7 +124,7 @@ protected: wchar_t * to, wchar_t * to_end, wchar_t*& to_next - ) const; + ) const override; virtual std::codecvt_base::result do_out( std::mbstate_t & state, @@ -134,7 +134,7 @@ protected: char * to, char * to_end, char * & to_next - ) const; + ) const override; bool invalid_continuing_octet(unsigned char octet_1) const { return (octet_1 < 0x80|| 0xbf< octet_1); @@ -156,7 +156,7 @@ protected: // == total octets - 1. int get_cont_octet_out_count(wchar_t word) const ; - virtual bool do_always_noconv() const BOOST_NOEXCEPT_OR_NOTHROW { + virtual bool do_always_noconv() const BOOST_NOEXCEPT_OR_NOTHROW override { return false; } @@ -166,12 +166,12 @@ protected: char * from, char * /*to*/, char * & next - ) const { + ) const override { next = from; return ok; } - virtual int do_encoding() const BOOST_NOEXCEPT_OR_NOTHROW { + virtual int do_encoding() const BOOST_NOEXCEPT_OR_NOTHROW override { const int variable_byte_external_encoding=0; return variable_byte_external_encoding; } @@ -183,7 +183,7 @@ protected: const char * from, const char * from_end, std::size_t max_limit - ) const + ) const override #if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600)) throw() #endif @@ -209,7 +209,7 @@ protected: } // Largest possible value do_length(state,from,from_end,1) could return. - virtual int do_max_length() const BOOST_NOEXCEPT_OR_NOTHROW { + virtual int do_max_length() const BOOST_NOEXCEPT_OR_NOTHROW override { return 6; // largest UTF-8 encoding of a UCS-4 character } }; diff --git a/bundled/boost-1.70.0/include/boost/format/exceptions.hpp b/bundled/boost-1.70.0/include/boost/format/exceptions.hpp index 56ee30dce0..29eea2eb21 100644 --- a/bundled/boost-1.70.0/include/boost/format/exceptions.hpp +++ b/bundled/boost-1.70.0/include/boost/format/exceptions.hpp @@ -30,7 +30,7 @@ namespace boost { { public: format_error() {} - virtual const char *what() const throw() { + virtual const char *what() const throw() override { return "boost::format_error: " "format generic failure"; } @@ -44,7 +44,7 @@ namespace boost { : pos_(pos), next_(size) {} std::size_t get_pos() const { return pos_; } std::size_t get_next() const { return next_; } - virtual const char *what() const throw() { + virtual const char *what() const throw() override { return "boost::bad_format_string: format-string is ill-formed"; } }; @@ -57,7 +57,7 @@ namespace boost { : cur_(cur), expected_(expected) {} std::size_t get_cur() const { return cur_; } std::size_t get_expected() const { return expected_; } - virtual const char *what() const throw() { + virtual const char *what() const throw() override { return "boost::too_few_args: " "format-string referred to more arguments than were passed"; } @@ -71,7 +71,7 @@ namespace boost { : cur_(cur), expected_(expected) {} std::size_t get_cur() const { return cur_; } std::size_t get_expected() const { return expected_; } - virtual const char *what() const throw() { + virtual const char *what() const throw() override { return "boost::too_many_args: " "format-string referred to fewer arguments than were passed"; } @@ -87,7 +87,7 @@ namespace boost { int get_index() const { return index_; } int get_beg() const { return beg_; } int get_end() const { return end_; } - virtual const char *what() const throw() { + virtual const char *what() const throw() override { return "boost::out_of_range: " "tried to refer to an argument (or item) number which" " is out of range, according to the format string"; diff --git a/bundled/boost-1.70.0/include/boost/geometry/algorithms/centroid.hpp b/bundled/boost-1.70.0/include/boost/geometry/algorithms/centroid.hpp index 6a58033f37..8403ecf432 100644 --- a/bundled/boost-1.70.0/include/boost/geometry/algorithms/centroid.hpp +++ b/bundled/boost-1.70.0/include/boost/geometry/algorithms/centroid.hpp @@ -93,7 +93,7 @@ public: \brief Returns the explanatory string. \return Pointer to a null-terminated string with explanatory information. */ - virtual char const* what() const throw() + virtual char const* what() const throw() override { return "Boost.Geometry Centroid calculation exception"; } diff --git a/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/has_self_intersections.hpp b/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/has_self_intersections.hpp index 1289d946a5..49058f66c6 100644 --- a/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/has_self_intersections.hpp +++ b/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/has_self_intersections.hpp @@ -52,7 +52,7 @@ public: inline overlay_invalid_input_exception() {} - virtual char const* what() const throw() + virtual char const* what() const throw() override { return "Boost.Geometry Overlay invalid input exception"; } diff --git a/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp b/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp index 6d92b1bd3c..01424bf41b 100644 --- a/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp +++ b/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp @@ -58,7 +58,7 @@ public: virtual ~turn_info_exception() throw() {} - virtual char const* what() const throw() + virtual char const* what() const throw() override { return message.c_str(); } diff --git a/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp b/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp index 1486f94fbd..26db4ec0e2 100644 --- a/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp +++ b/bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp @@ -25,7 +25,7 @@ public: virtual ~inconsistent_turns_exception() throw() {} - virtual char const* what() const throw() + virtual char const* what() const throw() override { return "Boost.Geometry Inconsistent Turns exception"; } diff --git a/bundled/boost-1.70.0/include/boost/geometry/core/exception.hpp b/bundled/boost-1.70.0/include/boost/geometry/core/exception.hpp index 72bc598b2a..4f1902f56a 100644 --- a/bundled/boost-1.70.0/include/boost/geometry/core/exception.hpp +++ b/bundled/boost-1.70.0/include/boost/geometry/core/exception.hpp @@ -33,7 +33,7 @@ namespace boost { namespace geometry class exception : public std::exception { public: - virtual char const* what() const throw() + virtual char const* what() const throw() override { return "Boost.Geometry exception"; } @@ -52,7 +52,7 @@ public: inline invalid_input_exception() {} - virtual char const* what() const throw() + virtual char const* what() const throw() override { return "Boost.Geometry Invalid-Input exception"; } @@ -77,7 +77,7 @@ public: inline empty_input_exception() {} - virtual char const* what() const throw() + virtual char const* what() const throw() override { return "Boost.Geometry Empty-Input exception"; } @@ -96,7 +96,7 @@ public: inline invalid_output_exception() {} - virtual char const* what() const throw() + virtual char const* what() const throw() override { return "Boost.Geometry Invalid-Output exception"; } diff --git a/bundled/boost-1.70.0/include/boost/geometry/io/wkt/read.hpp b/bundled/boost-1.70.0/include/boost/geometry/io/wkt/read.hpp index 414024b461..88c87e84a9 100644 --- a/bundled/boost-1.70.0/include/boost/geometry/io/wkt/read.hpp +++ b/bundled/boost-1.70.0/include/boost/geometry/io/wkt/read.hpp @@ -93,7 +93,7 @@ struct read_wkt_exception : public geometry::exception virtual ~read_wkt_exception() throw() {} - virtual const char* what() const throw() + virtual const char* what() const throw() override { return complete.c_str(); } diff --git a/bundled/boost-1.70.0/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp b/bundled/boost-1.70.0/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp index 6eb1050717..894c8bd85f 100644 --- a/bundled/boost-1.70.0/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp +++ b/bundled/boost-1.70.0/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp @@ -66,9 +66,9 @@ public: void open(const T& t BOOST_IOSTREAMS_PUSH_PARAMS()); bool is_open() const; void close(); - bool auto_close() const; - void set_auto_close(bool close); - bool strict_sync(); + bool auto_close() const override; + void set_auto_close(bool close) override; + bool strict_sync() override; // Declared in linked_streambuf. T* component() { return &*obj(); } @@ -78,24 +78,24 @@ protected: //----------virtual functions---------------------------------------------// #ifndef BOOST_IOSTREAMS_NO_LOCALE - void imbue(const std::locale& loc); + void imbue(const std::locale& loc) override; #endif #ifdef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES public: #endif - int_type underflow(); - int_type pbackfail(int_type c); - int_type overflow(int_type c); - int sync(); + int_type underflow() override; + int_type pbackfail(int_type c) override; + int_type overflow(int_type c) override; + int sync() override; pos_type seekoff( off_type off, BOOST_IOS::seekdir way, - BOOST_IOS::openmode which ); - pos_type seekpos(pos_type sp, BOOST_IOS::openmode which); + BOOST_IOS::openmode which ) override; + pos_type seekpos(pos_type sp, BOOST_IOS::openmode which) override; // Declared in linked_streambuf. - void set_next(streambuf_type* next); - void close_impl(BOOST_IOS::openmode m); - const boost::core::typeinfo& component_type() const { return BOOST_CORE_TYPEID(T); } - void* component_impl() { return component(); } + void set_next(streambuf_type* next) override; + void close_impl(BOOST_IOS::openmode m) override; + const boost::core::typeinfo& component_type() const override { return BOOST_CORE_TYPEID(T); } + void* component_impl() override { return component(); } private: //----------Accessor functions--------------------------------------------// diff --git a/bundled/boost-1.70.0/include/boost/iostreams/filtering_stream.hpp b/bundled/boost-1.70.0/include/boost/iostreams/filtering_stream.hpp index 8621ef96b2..ce79e10082 100644 --- a/bundled/boost-1.70.0/include/boost/iostreams/filtering_stream.hpp +++ b/bundled/boost-1.70.0/include/boost/iostreams/filtering_stream.hpp @@ -95,7 +95,7 @@ protected: >::stream_type stream_type; filtering_stream_base() : stream_type(0) { this->set_chain(&chain_); } private: - void notify() { this->rdbuf(chain_.empty() ? 0 : &chain_.front()); } + void notify() override { this->rdbuf(chain_.empty() ? 0 : &chain_.front()); } Chain chain_; }; diff --git a/bundled/boost-1.70.0/include/boost/lexical_cast/bad_lexical_cast.hpp b/bundled/boost-1.70.0/include/boost/lexical_cast/bad_lexical_cast.hpp index bf7b28acf0..193adc0a91 100644 --- a/bundled/boost-1.70.0/include/boost/lexical_cast/bad_lexical_cast.hpp +++ b/bundled/boost-1.70.0/include/boost/lexical_cast/bad_lexical_cast.hpp @@ -51,7 +51,7 @@ namespace boost #endif {} - virtual const char *what() const BOOST_NOEXCEPT_OR_NOTHROW { + virtual const char *what() const BOOST_NOEXCEPT_OR_NOTHROW override{ return "bad lexical cast: " "source type value could not be interpreted as target"; } diff --git a/bundled/boost-1.70.0/include/boost/numeric/conversion/converter_policies.hpp b/bundled/boost-1.70.0/include/boost/numeric/conversion/converter_policies.hpp index e7a5e67ce9..85ed41aab9 100644 --- a/bundled/boost-1.70.0/include/boost/numeric/conversion/converter_policies.hpp +++ b/bundled/boost-1.70.0/include/boost/numeric/conversion/converter_policies.hpp @@ -136,7 +136,7 @@ class bad_numeric_cast : public std::bad_cast { public: - virtual const char * what() const throw() + virtual const char * what() const throw() override { return "bad numeric conversion: overflow"; } }; @@ -144,14 +144,14 @@ class negative_overflow : public bad_numeric_cast { public: - virtual const char * what() const throw() + virtual const char * what() const throw() override { return "bad numeric conversion: negative overflow"; } }; class positive_overflow : public bad_numeric_cast { public: - virtual const char * what() const throw() + virtual const char * what() const throw() override { return "bad numeric conversion: positive overflow"; } }; diff --git a/bundled/boost-1.70.0/include/boost/property_tree/detail/rapidxml.hpp b/bundled/boost-1.70.0/include/boost/property_tree/detail/rapidxml.hpp index 9e3d76af9d..196807a70f 100644 --- a/bundled/boost-1.70.0/include/boost/property_tree/detail/rapidxml.hpp +++ b/bundled/boost-1.70.0/include/boost/property_tree/detail/rapidxml.hpp @@ -58,7 +58,7 @@ namespace boost { namespace property_tree { namespace detail {namespace rapidxml //! Gets human readable description of error. //! \return Pointer to null terminated description of the error. - virtual const char *what() const throw() + virtual const char *what() const throw() override { return m_what; } diff --git a/bundled/boost-1.70.0/include/boost/qvm/error.hpp b/bundled/boost-1.70.0/include/boost/qvm/error.hpp index 9d78ab7602..86e0d67186 100644 --- a/bundled/boost-1.70.0/include/boost/qvm/error.hpp +++ b/bundled/boost-1.70.0/include/boost/qvm/error.hpp @@ -22,7 +22,7 @@ boost virtual std::exception { char const * - what() const throw() + what() const throw() override { return "Boost QVM error"; } diff --git a/bundled/boost-1.70.0/include/boost/serialization/extended_type_info_no_rtti.hpp b/bundled/boost-1.70.0/include/boost/serialization/extended_type_info_no_rtti.hpp index aaa8b44459..5a3158ba35 100644 --- a/bundled/boost-1.70.0/include/boost/serialization/extended_type_info_no_rtti.hpp +++ b/bundled/boost-1.70.0/include/boost/serialization/extended_type_info_no_rtti.hpp @@ -60,9 +60,9 @@ protected: BOOST_SERIALIZATION_DECL ~extended_type_info_no_rtti_0(); public: virtual BOOST_SERIALIZATION_DECL bool - is_less_than(const boost::serialization::extended_type_info &rhs) const ; + is_less_than(const boost::serialization::extended_type_info &rhs) const override; virtual BOOST_SERIALIZATION_DECL bool - is_equal(const boost::serialization::extended_type_info &rhs) const ; + is_equal(const boost::serialization::extended_type_info &rhs) const override; }; } // no_rtti_system diff --git a/bundled/boost-1.70.0/include/boost/serialization/extended_type_info_typeid.hpp b/bundled/boost-1.70.0/include/boost/serialization/extended_type_info_typeid.hpp index 8ee591b316..e3e9532ca1 100644 --- a/bundled/boost-1.70.0/include/boost/serialization/extended_type_info_typeid.hpp +++ b/bundled/boost-1.70.0/include/boost/serialization/extended_type_info_typeid.hpp @@ -52,7 +52,7 @@ namespace typeid_system { class BOOST_SYMBOL_VISIBLE extended_type_info_typeid_0 : public extended_type_info { - virtual const char * get_debug_info() const { + virtual const char * get_debug_info() const override{ if(static_cast(0) == m_ti) return static_cast(0); return m_ti->name(); @@ -67,9 +67,9 @@ protected: get_extended_type_info(const std::type_info & ti) const; public: virtual BOOST_SERIALIZATION_DECL bool - is_less_than(const extended_type_info &rhs) const; + is_less_than(const extended_type_info &rhs) const override; virtual BOOST_SERIALIZATION_DECL bool - is_equal(const extended_type_info &rhs) const; + is_equal(const extended_type_info &rhs) const override; const std::type_info & get_typeid() const { return *m_ti; } @@ -110,7 +110,7 @@ public: const char * get_key() const { return boost::serialization::guid< T >(); } - virtual void * construct(unsigned int count, ...) const{ + virtual void * construct(unsigned int count, ...) const override{ // count up the arguments std::va_list ap; va_start(ap, count); @@ -131,7 +131,7 @@ public: return NULL; } } - virtual void destroy(void const * const p) const { + virtual void destroy(void const * const p) const override{ boost::serialization::access::destroy( static_cast(p) ); diff --git a/bundled/boost-1.70.0/include/boost/signals2/connection.hpp b/bundled/boost-1.70.0/include/boost/signals2/connection.hpp index dac806b221..603a36c2f4 100644 --- a/bundled/boost-1.70.0/include/boost/signals2/connection.hpp +++ b/bundled/boost-1.70.0/include/boost/signals2/connection.hpp @@ -146,7 +146,7 @@ namespace boost { } virtual ~connection_body() {} - virtual bool connected() const + virtual bool connected() const override { garbage_collecting_lock local_lock(*_mutex); nolock_grab_tracked_objects(local_lock, detail::null_output_iterator()); @@ -191,11 +191,11 @@ namespace boost } } // expose Lockable concept of mutex - virtual void lock() + virtual void lock() override { _mutex->lock(); } - virtual void unlock() + virtual void unlock() override { _mutex->unlock(); } @@ -208,7 +208,7 @@ namespace boost return *m_slot; } protected: - virtual shared_ptr release_slot() const + virtual shared_ptr release_slot() const override { shared_ptr released_slot = m_slot; diff --git a/bundled/boost-1.70.0/include/boost/signals2/detail/signal_template.hpp b/bundled/boost-1.70.0/include/boost/signals2/detail/signal_template.hpp index b92a143ade..cd3d633750 100644 --- a/bundled/boost-1.70.0/include/boost/signals2/detail/signal_template.hpp +++ b/bundled/boost-1.70.0/include/boost/signals2/detail/signal_template.hpp @@ -747,7 +747,7 @@ namespace boost swap(_pimpl, other._pimpl); } protected: - virtual shared_ptr lock_pimpl() const + virtual shared_ptr lock_pimpl() const override { return _pimpl; } diff --git a/bundled/boost-1.70.0/include/boost/signals2/expired_slot.hpp b/bundled/boost-1.70.0/include/boost/signals2/expired_slot.hpp index fa6db22d66..d04996e2e0 100644 --- a/bundled/boost-1.70.0/include/boost/signals2/expired_slot.hpp +++ b/bundled/boost-1.70.0/include/boost/signals2/expired_slot.hpp @@ -20,7 +20,7 @@ namespace boost class expired_slot: public bad_weak_ptr { public: - virtual char const * what() const throw() + virtual char const * what() const throw() override { return "boost::signals2::expired_slot"; } diff --git a/bundled/boost-1.70.0/include/boost/signals2/last_value.hpp b/bundled/boost-1.70.0/include/boost/signals2/last_value.hpp index 1dd0712eaf..963287e0e4 100644 --- a/bundled/boost-1.70.0/include/boost/signals2/last_value.hpp +++ b/bundled/boost-1.70.0/include/boost/signals2/last_value.hpp @@ -25,7 +25,7 @@ namespace boost { class no_slots_error: public std::exception { public: - virtual const char* what() const throw() {return "boost::signals2::no_slots_error";} + virtual const char* what() const throw() override {return "boost::signals2::no_slots_error";} }; template diff --git a/bundled/boost-1.70.0/include/boost/smart_ptr/bad_weak_ptr.hpp b/bundled/boost-1.70.0/include/boost/smart_ptr/bad_weak_ptr.hpp index e3e81f9f7c..c09ae0eba3 100644 --- a/bundled/boost-1.70.0/include/boost/smart_ptr/bad_weak_ptr.hpp +++ b/bundled/boost-1.70.0/include/boost/smart_ptr/bad_weak_ptr.hpp @@ -47,7 +47,7 @@ class bad_weak_ptr: public std::exception { public: - virtual char const * what() const BOOST_NOEXCEPT_OR_NOTHROW + virtual char const * what() const BOOST_NOEXCEPT_OR_NOTHROW override { return "tr1::bad_weak_ptr"; } diff --git a/bundled/boost-1.70.0/include/boost/smart_ptr/detail/local_counted_base.hpp b/bundled/boost-1.70.0/include/boost/smart_ptr/detail/local_counted_base.hpp index 405ef30ac3..401e0dc068 100644 --- a/bundled/boost-1.70.0/include/boost/smart_ptr/detail/local_counted_base.hpp +++ b/bundled/boost-1.70.0/include/boost/smart_ptr/detail/local_counted_base.hpp @@ -113,12 +113,12 @@ public: #endif - virtual void local_cb_destroy() BOOST_SP_NOEXCEPT + virtual void local_cb_destroy() BOOST_SP_NOEXCEPT override { delete this; } - virtual boost::detail::shared_count local_cb_get_shared_count() const BOOST_SP_NOEXCEPT + virtual boost::detail::shared_count local_cb_get_shared_count() const BOOST_SP_NOEXCEPT override { return pn_; } @@ -130,12 +130,12 @@ public: shared_count pn_; - virtual void local_cb_destroy() BOOST_SP_NOEXCEPT + virtual void local_cb_destroy() BOOST_SP_NOEXCEPT override { shared_count().swap( pn_ ); } - virtual boost::detail::shared_count local_cb_get_shared_count() const BOOST_SP_NOEXCEPT + virtual boost::detail::shared_count local_cb_get_shared_count() const BOOST_SP_NOEXCEPT override { return pn_; } diff --git a/bundled/boost-1.70.0/include/boost/smart_ptr/detail/sp_counted_impl.hpp b/bundled/boost-1.70.0/include/boost/smart_ptr/detail/sp_counted_impl.hpp index 29718b6b8c..a8b56ab8e2 100644 --- a/bundled/boost-1.70.0/include/boost/smart_ptr/detail/sp_counted_impl.hpp +++ b/bundled/boost-1.70.0/include/boost/smart_ptr/detail/sp_counted_impl.hpp @@ -85,7 +85,7 @@ public: #endif } - virtual void dispose() BOOST_SP_NOEXCEPT + virtual void dispose() BOOST_SP_NOEXCEPT override { #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS) boost::sp_scalar_destructor_hook( px_, sizeof(X), this ); @@ -93,17 +93,17 @@ public: boost::checked_delete( px_ ); } - virtual void * get_deleter( sp_typeinfo const & ) BOOST_SP_NOEXCEPT + virtual void * get_deleter( sp_typeinfo const & ) BOOST_SP_NOEXCEPT override { return 0; } - virtual void * get_local_deleter( sp_typeinfo const & ) BOOST_SP_NOEXCEPT + virtual void * get_local_deleter( sp_typeinfo const & ) BOOST_SP_NOEXCEPT override { return 0; } - virtual void * get_untyped_deleter() BOOST_SP_NOEXCEPT + virtual void * get_untyped_deleter() BOOST_SP_NOEXCEPT override { return 0; } @@ -168,22 +168,22 @@ public: { } - virtual void dispose() BOOST_SP_NOEXCEPT + virtual void dispose() BOOST_SP_NOEXCEPT override { del( ptr ); } - virtual void * get_deleter( sp_typeinfo const & ti ) BOOST_SP_NOEXCEPT + virtual void * get_deleter( sp_typeinfo const & ti ) BOOST_SP_NOEXCEPT override { return ti == BOOST_SP_TYPEID(D)? &reinterpret_cast( del ): 0; } - virtual void * get_local_deleter( sp_typeinfo const & ti ) BOOST_SP_NOEXCEPT + virtual void * get_local_deleter( sp_typeinfo const & ti ) BOOST_SP_NOEXCEPT override { return ti == BOOST_SP_TYPEID(D)? boost::detail::get_local_deleter( boost::addressof( del ) ): 0; } - virtual void * get_untyped_deleter() BOOST_SP_NOEXCEPT + virtual void * get_untyped_deleter() BOOST_SP_NOEXCEPT override { return &reinterpret_cast( del ); } diff --git a/bundled/boost-1.70.0/include/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp b/bundled/boost-1.70.0/include/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp index 137694ef2f..a5db340401 100644 --- a/bundled/boost-1.70.0/include/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp +++ b/bundled/boost-1.70.0/include/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp @@ -236,13 +236,13 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN virtual ~concrete_parser() {} virtual typename match_result::type - do_parse_virtual(ScannerT const& scan) const + do_parse_virtual(ScannerT const& scan) const override { return p.parse(scan); } virtual abstract_parser* - clone() const + clone() const override { return new concrete_parser(p); } diff --git a/bundled/boost-1.70.0/include/boost/variant/bad_visit.hpp b/bundled/boost-1.70.0/include/boost/variant/bad_visit.hpp index 6a738e00f5..6c23599553 100644 --- a/bundled/boost-1.70.0/include/boost/variant/bad_visit.hpp +++ b/bundled/boost-1.70.0/include/boost/variant/bad_visit.hpp @@ -28,7 +28,7 @@ struct BOOST_SYMBOL_VISIBLE bad_visit { public: // std::exception interface - virtual const char * what() const BOOST_NOEXCEPT_OR_NOTHROW + virtual const char * what() const BOOST_NOEXCEPT_OR_NOTHROW override { return "boost::bad_visit: " "failed visitation using boost::apply_visitor"; diff --git a/bundled/boost-1.70.0/include/boost/variant/get.hpp b/bundled/boost-1.70.0/include/boost/variant/get.hpp index 0130bff358..d413983a60 100644 --- a/bundled/boost-1.70.0/include/boost/variant/get.hpp +++ b/bundled/boost-1.70.0/include/boost/variant/get.hpp @@ -44,7 +44,7 @@ class BOOST_SYMBOL_VISIBLE bad_get { public: // std::exception implementation - virtual const char * what() const BOOST_NOEXCEPT_OR_NOTHROW + virtual const char * what() const BOOST_NOEXCEPT_OR_NOTHROW override { return "boost::bad_get: " "failed value get using boost::get"; diff --git a/include/deal.II/base/tensor.h b/include/deal.II/base/tensor.h index fb9526d226..4b2f5f2fab 100644 --- a/include/deal.II/base/tensor.h +++ b/include/deal.II/base/tensor.h @@ -1930,7 +1930,7 @@ DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE typename Tensor::type>::tensor_type - result{}; + result; TensorAccessors::internal:: ReorderedIndexView<0, rank_2, const Tensor> @@ -2005,7 +2005,7 @@ DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE typename Tensor::type>::tensor_type - result{}; + result; TensorAccessors::contract<1, rank_1, rank_2, dim>(result, reord_01, reord_02); return result; } @@ -2113,7 +2113,7 @@ DEAL_II_CONSTEXPR inline typename Tensor::type>::tensor_type - result{}; + result; TensorAccessors::contract<2, rank_1, rank_2, dim>(result, reord_3, reord_4); return result; } @@ -2138,7 +2138,7 @@ DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE scalar_product(const Tensor & left, const Tensor &right) { - typename ProductType::type result{}; + typename ProductType::type result; TensorAccessors::contract(result, left, right); return result; } @@ -2209,7 +2209,7 @@ DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE typename Tensor::type>::tensor_type - result{}; + result; TensorAccessors::contract<0, rank_1, rank_2, dim>(result, src1, src2); return result; }