]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add override
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 18 Jul 2019 20:08:26 +0000 (16:08 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 18 Jul 2019 20:22:45 +0000 (16:22 -0400)
36 files changed:
bundled/boost-1.70.0/include/boost/any.hpp
bundled/boost-1.70.0/include/boost/archive/archive_exception.hpp
bundled/boost-1.70.0/include/boost/archive/codecvt_null.hpp
bundled/boost-1.70.0/include/boost/archive/detail/common_iarchive.hpp
bundled/boost-1.70.0/include/boost/archive/detail/common_oarchive.hpp
bundled/boost-1.70.0/include/boost/archive/detail/iserializer.hpp
bundled/boost-1.70.0/include/boost/archive/detail/oserializer.hpp
bundled/boost-1.70.0/include/boost/archive/iterators/dataflow_exception.hpp
bundled/boost-1.70.0/include/boost/detail/basic_pointerbuf.hpp
bundled/boost-1.70.0/include/boost/detail/utf8_codecvt_facet.hpp
bundled/boost-1.70.0/include/boost/format/exceptions.hpp
bundled/boost-1.70.0/include/boost/geometry/algorithms/centroid.hpp
bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/has_self_intersections.hpp
bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp
bundled/boost-1.70.0/include/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp
bundled/boost-1.70.0/include/boost/geometry/core/exception.hpp
bundled/boost-1.70.0/include/boost/geometry/io/wkt/read.hpp
bundled/boost-1.70.0/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp
bundled/boost-1.70.0/include/boost/iostreams/filtering_stream.hpp
bundled/boost-1.70.0/include/boost/lexical_cast/bad_lexical_cast.hpp
bundled/boost-1.70.0/include/boost/numeric/conversion/converter_policies.hpp
bundled/boost-1.70.0/include/boost/property_tree/detail/rapidxml.hpp
bundled/boost-1.70.0/include/boost/qvm/error.hpp
bundled/boost-1.70.0/include/boost/serialization/extended_type_info_no_rtti.hpp
bundled/boost-1.70.0/include/boost/serialization/extended_type_info_typeid.hpp
bundled/boost-1.70.0/include/boost/signals2/connection.hpp
bundled/boost-1.70.0/include/boost/signals2/detail/signal_template.hpp
bundled/boost-1.70.0/include/boost/signals2/expired_slot.hpp
bundled/boost-1.70.0/include/boost/signals2/last_value.hpp
bundled/boost-1.70.0/include/boost/smart_ptr/bad_weak_ptr.hpp
bundled/boost-1.70.0/include/boost/smart_ptr/detail/local_counted_base.hpp
bundled/boost-1.70.0/include/boost/smart_ptr/detail/sp_counted_impl.hpp
bundled/boost-1.70.0/include/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp
bundled/boost-1.70.0/include/boost/variant/bad_visit.hpp
bundled/boost-1.70.0/include/boost/variant/get.hpp
include/deal.II/base/tensor.h

index f161b3ff17ddf5e85f907b160ac35036f66fb124..e24f130ca1ea93c0eb1f8dafdeabc5def14fa918 100644 (file)
@@ -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<ValueType>().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";
index fabcdb5fa71462b60a1532ceff7a4cb268059fa5..e544c06faa9e352cb7de05a56a64e6aca69b9271 100644 (file)
@@ -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
index 3b39c8edef14e76f7376c25c4cebe3db4001845a..a7e0480349604387ac5e842720e1bc1e3e71d3c6 100644 (file)
@@ -52,7 +52,7 @@ class codecvt_null;
 template<>
 class codecvt_null<char> : public std::codecvt<char, char, std::mbstate_t>
 {
-    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<wchar_t> :
         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> :
         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:
index 4176a8a5ef1726915c33adc12e4fc380e77162dd..eca293d1c579648be3ee1734ccf5404ca51a57ca 100644 (file)
@@ -42,22 +42,22 @@ class BOOST_SYMBOL_VISIBLE common_iarchive :
     friend class interface_iarchive<Archive>;
     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:
index f7428637e425420adc6769cfdc165d70b2cd26dc..edd8c26dcaf4f407afdddc5b54faaafaa0a12c6a 100644 (file)
@@ -40,28 +40,28 @@ class BOOST_SYMBOL_VISIBLE common_oarchive :
     friend class interface_oarchive<Archive>;
     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:
index 98cd6a17f2d6563b7aadcac07c3ae98817354394..16e669d5946e44518f32424a5966e4730cbefb26 100644 (file)
@@ -120,7 +120,7 @@ template<class Archive, class T>
 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<T *>(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(){};
index 612e1f2cb162436aa2d2fe14def7915163c6f70f..fcbf0f1f471e76de67132073e14e6fa38b20dafa 100644 (file)
@@ -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(){}
index e3e18605b38b6ed9067997f741f9d1469c04132d..1feed100597921464df0a4fca59b210f4399addf 100644 (file)
@@ -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){
index 85618f92abe0b7c97dab584c4b18db222e86ca74..7b3c8c974a388d10fc385b9889f0b4653914974e 100644 (file)
@@ -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&);
index ad714c09e8e599c163804f5f390e1002ed86bd5d..f1ace69f995229fb2d3e57f7b7d5f3a59adb7d80 100644 (file)
@@ -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
     }
 };
index 56ee30dce09bcf3fc1067360aec8c1ffad7e6b52..29eea2eb21a37d8de0ab33162753191c5c25f239 100644 (file)
@@ -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";
index 6a58033f376db2a8765a1efa207230d5e823ec84..8403ecf43280b9d99d9a6a8237c549a555c2cc9c 100644 (file)
@@ -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";
     }
index 1289d946a5e7c1a39ec15b2111fb1293d76a3c4b..49058f66c6f1666f475b58959203fa4006903f16 100644 (file)
@@ -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";
     }
index 6d92b1bd3c2c36d9ae9dac8571b449b5c31ea594..01424bf41b5a903d4543293aa18af3a2ac9306fa 100644 (file)
@@ -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();
     }
index 1486f94fbd2765a75936d957d40f90efe9e9c2b3..26db4ec0e226cbbdfb43adbc53d74c13805505a0 100644 (file)
@@ -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";
     }
index 72bc598b2af89a43951c3f0928a3e084231e10f6..4f1902f56a8f90c0ddcd7f34b76fa35f062162aa 100644 (file)
@@ -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";
     }
index 414024b46146b94ca97cf728977799943bf2c056..88c87e84a924833d7be46c0a39efbb4baa4666db 100644 (file)
@@ -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();
     }
index 6eb10507171a96e3f5ac819bc2d2f8efde773d20..894c8bd85f2dbe477f6b2c6cf33953414bb593bc 100644 (file)
@@ -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--------------------------------------------//
index 8621ef96b2e58fcaee76d5c4eb6f9ee4631f5dd5..ce79e10082578bc48d8783ebb406827a61e65013 100644 (file)
@@ -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_;
 };
 
index bf7b28acf0cf391ef80f38b41df69bd9efabb8ee..193adc0a91dbf4b700ba7bbe19b83ca4b3d371ae 100644 (file)
@@ -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";
         }
index e7a5e67ce9eb8e0513b2c5c490c35b64eff71ac3..85ed41aab998ecaf51ebca6d670aa9267aba32b2 100644 (file)
@@ -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"; }
 };
 
index 9e3d76af9dc54df7021ff5edc6cf92e5a17f26d2..196807a70ff30229e75bf286fadc19186ca303e7 100644 (file)
@@ -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;
         }
index 9d78ab76028f5a3e3cfa98e7ceedeaa7f41d8471..86e0d671864d66509d46a582b5ce060b287cd831 100644 (file)
@@ -22,7 +22,7 @@ boost
             virtual std::exception
             {
             char const *
-            what() const throw()
+            what() const throw() override
                 {
                 return "Boost QVM error";
                 }
index aaa8b44459b0a79a364b1bd998e93fca586d9a37..5a3158ba350836256b4cf229a52d31df508af193 100644 (file)
@@ -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
index 8ee591b3169a96559f99c4416aada2637c83ae48..e3e9532ca19cbf096197b1a6666813676d33bab5 100644 (file)
@@ -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<const std::type_info *>(0) == m_ti)
             return static_cast<const char *>(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<T const *>(p)
         );
index dac806b2217a586f1c3575dabf88e725c11fe861..603a36c2f46ad214cad00d97b6581ee1f999eb39 100644 (file)
@@ -146,7 +146,7 @@ namespace boost
         {
         }
         virtual ~connection_body() {}
-        virtual bool connected() const
+        virtual bool connected() const override
         {
           garbage_collecting_lock<mutex_type> 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<void> release_slot() const
+        virtual shared_ptr<void> release_slot() const override
         {
           
           shared_ptr<void> released_slot = m_slot;
index b92a143ade52e44c2132210d02a46a9bf581c1aa..cd3d6337502531caed825ba04a26b1e21af0cc8c 100644 (file)
@@ -747,7 +747,7 @@ namespace boost
         swap(_pimpl, other._pimpl);
       }
     protected:
-      virtual shared_ptr<void> lock_pimpl() const
+      virtual shared_ptr<void> lock_pimpl() const override
       {
         return _pimpl;
       }
index fa6db22d667698ac951eb54ce7b0c0fdcc977235..d04996e2e0c3fd792125666a1190452c7cb62773 100644 (file)
@@ -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";
       }
index 1dd0712eafbd571d4756f0c380ae8b8a90d0093d..963287e0e4be52c5cea082576e32f965f0114da8 100644 (file)
@@ -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<typename T>
index e3e81f9f7cec85ceb6322eb906d8d836326d157f..c09ae0eba3ad5b719b198bb861694e4bb8b6d8bb 100644 (file)
@@ -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";
     }
index 405ef30ac3594a2ee0cfae452ab6ca6da3c28e06..401e0dc068cd6a6dba596138cfdba0562f18866a 100644 (file)
@@ -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_;
     }
index 29718b6b8c79a189552cc40ef8966768d72d1700..a8b56ab8e23c547a99e552ff1119ea777329281d 100644 (file)
@@ -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<char&>( 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<char&>( del );
     }
index 137694ef2f6bb0a754c4f0b2090cc045f436d156..a5db340401e401d22d33289aa9df2f48edfd6fb2 100644 (file)
@@ -236,13 +236,13 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
             virtual ~concrete_parser() {}
 
             virtual typename match_result<ScannerT, AttrT>::type
-            do_parse_virtual(ScannerT const& scan) const
+            do_parse_virtual(ScannerT const& scan) const override
             {
                 return p.parse(scan);
             }
 
             virtual abstract_parser<ScannerT, AttrT>*
-            clone() const
+            clone() const override
             {
                 return new concrete_parser(p);
             }
index 6a738e00f5a08b1b75d9a2f78bd258c497d05eeb..6c23599553ea17723a5acf0083d4eda3c8c488ee 100644 (file)
@@ -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";
index 0130bff358b93e01419bbe1f823c9b6cb297e189..d413983a6038ed71a3b3b3731bdc5fc04a66b3f9 100644 (file)
@@ -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";
index fb9526d226c8161e1dfc32489322d95b504dcfe8..4b2f5f2fab02c5f6972cd6a805766bb268f80500 100644 (file)
@@ -1930,7 +1930,7 @@ DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE
   typename Tensor<rank_1 + rank_2 - 2,
                   dim,
                   typename ProductType<Number, OtherNumber>::type>::tensor_type
-    result{};
+    result;
 
   TensorAccessors::internal::
     ReorderedIndexView<0, rank_2, const Tensor<rank_2, dim, OtherNumber>>
@@ -2005,7 +2005,7 @@ DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE
   typename Tensor<rank_1 + rank_2 - 2,
                   dim,
                   typename ProductType<Number, OtherNumber>::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<rank_1 + rank_2 - 4,
                   dim,
                   typename ProductType<Number, OtherNumber>::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<rank, dim, Number> &     left,
                  const Tensor<rank, dim, OtherNumber> &right)
 {
-  typename ProductType<Number, OtherNumber>::type result{};
+  typename ProductType<Number, OtherNumber>::type result;
   TensorAccessors::contract<rank, rank, rank, dim>(result, left, right);
   return result;
 }
@@ -2209,7 +2209,7 @@ DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE
   typename Tensor<rank_1 + rank_2,
                   dim,
                   typename ProductType<Number, OtherNumber>::type>::tensor_type
-    result{};
+    result;
   TensorAccessors::contract<0, rank_1, rank_2, dim>(result, src1, src2);
   return result;
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.