It is not legal to specify new/delete as inline in C++11.
Simplify.