]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/interprocess/managed_heap_memory.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / interprocess / managed_heap_memory.hpp
index c4503281e86e730929eb3a140a03b21a9231befe..52b917acba9b2ae8955d916bdccd2dff925b73c8 100644 (file)
@@ -63,7 +63,8 @@ class basic_managed_heap_memory
 
    //!Default constructor. Does nothing.
    //!Useful in combination with move semantics
-   basic_managed_heap_memory(){}
+   basic_managed_heap_memory() BOOST_NOEXCEPT
+   {}
 
    //!Destructor. Liberates the heap memory holding the managed data.
    //!Never throws.
@@ -82,11 +83,11 @@ class basic_managed_heap_memory
    }
 
    //!Moves the ownership of "moved"'s managed memory to *this. Does not throw
-   basic_managed_heap_memory(BOOST_RV_REF(basic_managed_heap_memory) moved)
+   basic_managed_heap_memory(BOOST_RV_REF(basic_managed_heap_memory) moved) BOOST_NOEXCEPT
    {  this->swap(moved);   }
 
    //!Moves the ownership of "moved"'s managed memory to *this. Does not throw
-   basic_managed_heap_memory &operator=(BOOST_RV_REF(basic_managed_heap_memory) moved)
+   basic_managed_heap_memory &operator=(BOOST_RV_REF(basic_managed_heap_memory) moved) BOOST_NOEXCEPT
    {
       basic_managed_heap_memory tmp(boost::move(moved));
       this->swap(tmp);
@@ -123,7 +124,7 @@ class basic_managed_heap_memory
 
    //!Swaps the ownership of the managed heap memories managed by *this and other.
    //!Never throws.
-   void swap(basic_managed_heap_memory &other)
+   void swap(basic_managed_heap_memory &other) BOOST_NOEXCEPT
    {
       base_t::swap(other);
       m_heapmem.swap(other.m_heapmem);