Skip to content

Commit

Permalink
dynamic exception specifications are deprecated in C++11
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Suda committed Oct 1, 2017
1 parent 7c415d1 commit 07b61ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Lib/Allocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,10 @@ class Allocator {
* See also Allocator::AllowBypassing and the BYPASSING_ALLOCATOR macro.
*/
static unsigned _tolerantZone;
friend void* ::operator new(size_t) throw(std::bad_alloc);
friend void* ::operator new[](size_t) throw(std::bad_alloc);
friend void ::operator delete(void*) throw();
friend void ::operator delete[](void*) throw();
friend void* ::operator new(size_t); // throw(std::bad_alloc); // dynamic exception specifications are deprecated in C++11
friend void* ::operator new[](size_t); // throw(std::bad_alloc);
friend void ::operator delete(void*); // throw();
friend void ::operator delete[](void*); // throw();
#endif
}; // class Allocator

Expand Down

0 comments on commit 07b61ac

Please sign in to comment.