]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/throw_exception.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / throw_exception.hpp
index 17aff51c09b580fc2f74a82a2237bc2468ddcf7f..37b79b62010f4c75b4370cb7afa7befcd29e8b52 100644 (file)
@@ -25,7 +25,7 @@
 #include <boost/config/workaround.hpp>
 #include <exception>
 
-#if !defined( BOOST_EXCEPTION_DISABLE ) && defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x593) )
+#if !defined( BOOST_EXCEPTION_DISABLE ) && defined( BOOST_BORLANDC ) && BOOST_WORKAROUND( BOOST_BORLANDC, BOOST_TESTED_AT(0x593) )
 # define BOOST_EXCEPTION_DISABLE
 #endif
 
@@ -140,7 +140,7 @@ public:
         set_info( *this, throw_function( loc.function_name() ) );
     }
 
-    virtual boost::exception_detail::clone_base const * clone() const
+    virtual boost::exception_detail::clone_base const * clone() const BOOST_OVERRIDE
     {
         wrapexcept * p = new wrapexcept( *this );
         deleter del = { p };
@@ -151,7 +151,7 @@ public:
         return p;
     }
 
-    virtual void rethrow() const
+    virtual void rethrow() const BOOST_OVERRIDE
     {
         throw *this;
     }