X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcomm%2Fhandler%2FAllocator.hpp;h=69250b83d38307c70a4d1b0732eef7bef4a41367;hp=eb8cf742085257b3b9bdc6b3707663d7b44062d3;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/comm/handler/Allocator.hpp b/include/anna/comm/handler/Allocator.hpp index eb8cf74..69250b8 100644 --- a/include/anna/comm/handler/Allocator.hpp +++ b/include/anna/comm/handler/Allocator.hpp @@ -22,10 +22,10 @@ public: static Communicator* st_communicator; static _Handler* create() - throw() { + { return new _Handler(st_communicator); } - static void destroy(_Handler* t) throw() { delete t; } + static void destroy(_Handler* t) { delete t; } }; }