]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/thread/test/threads/thread/constr/F_pass.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / thread / test / threads / thread / constr / F_pass.cpp
index e649f41dda35e61dfe654ddb0b3c5512bbb51981..b99e90babf4363abe6916d9f18211d53b94dc229 100644 (file)
@@ -29,6 +29,8 @@ unsigned throw_one = 0xFFFF;
 void* operator new(std::size_t s) _GLIBCXX_THROW (std::bad_alloc)
 #elif defined BOOST_MSVC
 void* operator new(std::size_t s)
+#elif __cplusplus > 201402L
+void* operator new(std::size_t s)
 #else
 void* operator new(std::size_t s) throw (std::bad_alloc)
 #endif
@@ -42,7 +44,7 @@ void* operator new(std::size_t s) throw (std::bad_alloc)
 #if defined BOOST_MSVC
 void operator delete(void* p)
 #else
-void operator delete(void* p) throw ()
+void operator delete(void* p) BOOST_NOEXCEPT_OR_NOTHROW
 #endif
 {
   //std::cout << __FILE__ << ":" << __LINE__ << std::endl;