X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fhttp%2FMethod.cpp;fp=source%2Fhttp%2FMethod.cpp;h=3a156758cc58a444366ac58c1f4f7040aa3ca864;hp=7d4c7517e646c3e5276b410e18c9d38465de8d10;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/http/Method.cpp b/source/http/Method.cpp index 7d4c751..3a15675 100644 --- a/source/http/Method.cpp +++ b/source/http/Method.cpp @@ -17,7 +17,7 @@ anna_assign_enum(http::Method::Type) = { }; http::Method::Type::_v http::Method::asType(const http::Token* token) -throw() { +{ for(int ii = 0; anna_item_enum(http::Method::Type, ii) != NULL; ii ++) { if(token->match(anna_item_enum(http::Method::Type, ii)) == true) return (Type::_v) ii; @@ -27,7 +27,7 @@ throw() { } string http::Method::asString(const http::Method::Type::_v type) -throw() { +{ string result("http::Method { Name: "); result += Type::asCString(type); return result += " }";