X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fcomm%2Fhandler%2FAllocator.hpp;h=69250b83d38307c70a4d1b0732eef7bef4a41367;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hp=eb8cf742085257b3b9bdc6b3707663d7b44062d3;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git 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; } }; }