]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/thread/test/threads/thread/constr/FArgs_pass.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / thread / test / threads / thread / constr / FArgs_pass.cpp
index c7897589e612c8d45db0fa6aea37428e115303f2..e12c51878f0e3c5a5e492ab09699e8c0dd745e11 100644 (file)
 unsigned throw_one = 0xFFFF;
 
 #if defined _GLIBCXX_THROW
-inline void* operator new(std::size_t s) _GLIBCXX_THROW (std::bad_alloc)
+void* operator new(std::size_t s) _GLIBCXX_THROW (std::bad_alloc)
 #elif defined BOOST_MSVC
-inline void* operator new(std::size_t s)
+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
@@ -40,9 +42,9 @@ void* operator new(std::size_t s) throw (std::bad_alloc)
 }
 
 #if defined BOOST_MSVC
-inline void operator delete(void* p)
+void operator delete(void* p)
 #else
-inline void operator delete(void* p) throw ()
+void operator delete(void* p) BOOST_NOEXCEPT_OR_NOTHROW
 #endif
 {
   //std::cout << __FILE__ << ":" << __LINE__ << std::endl;