]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/interprocess/exceptions.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / interprocess / exceptions.hpp
index 700c4c5034068700fc5b0e9241aeb6340ffb4f1f..336a5fce825a52882d00676ca3bd9e9a68bc9a21 100644 (file)
@@ -60,9 +60,9 @@ class BOOST_SYMBOL_VISIBLE interprocess_exception : public std::exception
       catch(...){}
    }
 
-   virtual ~interprocess_exception() throw(){}
+   virtual ~interprocess_exception() BOOST_NOEXCEPT_OR_NOTHROW {}
 
-   virtual const char * what() const throw()
+   virtual const char * what() const BOOST_NOEXCEPT_OR_NOTHROW
    {  return m_str.c_str();  }
 
    native_error_t get_native_error()const { return m_err.get_native_error(); }
@@ -86,7 +86,7 @@ class BOOST_SYMBOL_VISIBLE lock_exception : public interprocess_exception
       :  interprocess_exception(lock_error)
    {}
 
-   virtual const char* what() const throw()
+   virtual const char* what() const BOOST_NOEXCEPT_OR_NOTHROW
    {  return "boost::interprocess::lock_exception";  }
 };
 
@@ -97,7 +97,7 @@ class BOOST_SYMBOL_VISIBLE bad_alloc : public interprocess_exception
 {
  public:
    bad_alloc() : interprocess_exception("::boost::interprocess::bad_alloc"){}
-   virtual const char* what() const throw()
+   virtual const char* what() const BOOST_NOEXCEPT_OR_NOTHROW
       {  return "boost::interprocess::bad_alloc";  }
 };