File tree Expand file tree Collapse file tree
test/threads/thread/constr Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,12 +29,8 @@ unsigned throw_one = 0xFFFF;
2929
3030#if defined _GLIBCXX_THROW
3131void * operator new (std::size_t s) _GLIBCXX_THROW (std::bad_alloc)
32- #elif defined BOOST_MSVC
33- void * operator new (std::size_t s)
34- #elif __cplusplus > 201402L
35- void * operator new (std::size_t s)
3632#else
37- void * operator new (std::size_t s) throw (std::bad_alloc)
33+ void * operator new (std::size_t s)
3834#endif
3935{
4036 // std::cout << __FILE__ << ":" << __LINE__ << std::endl;
Original file line number Diff line number Diff line change @@ -29,12 +29,8 @@ unsigned throw_one = 0xFFFF;
2929
3030#if defined _GLIBCXX_THROW
3131void * operator new (std::size_t s) _GLIBCXX_THROW (std::bad_alloc)
32- #elif defined BOOST_MSVC
33- void * operator new (std::size_t s)
34- #elif __cplusplus > 201402L
35- void * operator new (std::size_t s)
3632#else
37- void * operator new (std::size_t s) throw (std::bad_alloc)
33+ void * operator new (std::size_t s)
3834#endif
3935{
4036 // std::cout << __FILE__ << ":" << __LINE__ << std::endl;
Original file line number Diff line number Diff line change @@ -31,12 +31,8 @@ unsigned throw_one = 0xFFFF;
3131
3232#if defined _GLIBCXX_THROW
3333void * operator new (std::size_t s) _GLIBCXX_THROW (std::bad_alloc)
34- #elif defined BOOST_MSVC
35- void * operator new (std::size_t s)
36- #elif __cplusplus > 201402L
37- void * operator new (std::size_t s)
3834#else
39- void * operator new (std::size_t s) throw (std::bad_alloc)
35+ void * operator new (std::size_t s)
4036#endif
4137{
4238 if (throw_one == 0 ) throw std::bad_alloc ();
You can’t perform that action at this time.
0 commit comments