Skip to content
Snippets Groups Projects
Commit d26e5ed3 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[C++11] Follow the C++11 specification of operator new.

The signature changed in C++11 which we require now.
To get more details see the mailinglost in October 2012.
parent 2498c25d
No related branches found
No related tags found
No related merge requests found
......@@ -294,7 +294,7 @@ namespace Dune
}
#ifdef DEBUG_NEW_DELETE
void * operator new(size_t size) throw(std::bad_alloc)
void * operator new(size_t size)
{
// try to allocate size bytes
void *p = Dune::DebugMemory::alloc_man.allocate<char>(size);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment