X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fhttp%2FMessageFactory.cpp;h=05d039a2bcb277aca57dae3bf36ff5e7398a0548;hp=17195a506fecda91cabf585506c4b5e0b8fb1b57;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/http/MessageFactory.cpp b/source/http/MessageFactory.cpp index 17195a5..05d039a 100644 --- a/source/http/MessageFactory.cpp +++ b/source/http/MessageFactory.cpp @@ -11,7 +11,7 @@ using namespace anna; http::Message* http::MessageFactory::create(const http::Message::Type::_v type) -throw(RuntimeException) { +noexcept(false) { if(type == Message::Type::Request) return a_requests.create(); else @@ -19,7 +19,7 @@ throw(RuntimeException) { } void http::MessageFactory::release(http::Message* message) -throw() { +{ if(message == NULL) return;