From 49a6c50f033593b6661a6b46d1dcedfb85e36a43 Mon Sep 17 00:00:00 2001 From: lganzzzo Date: Fri, 4 Oct 2019 01:00:32 +0300 Subject: [PATCH] Remove commented code --- test/oatpp/web/app/Controller.hpp | 8 -------- test/oatpp/web/app/ControllerAsync.hpp | 9 --------- 2 files changed, 17 deletions(-) diff --git a/test/oatpp/web/app/Controller.hpp b/test/oatpp/web/app/Controller.hpp index 6512da36..6b0a6e6f 100644 --- a/test/oatpp/web/app/Controller.hpp +++ b/test/oatpp/web/app/Controller.hpp @@ -61,14 +61,6 @@ public: #include OATPP_CODEGEN_BEGIN(ApiController) - /*ENDPOINT_INTERCEPTOR(root, inter1) { - OATPP_LOGD("aaa", "inter1"); - return (this->*prevMethod)(request); - }*/ - /*ENDPOINT_INTERCEPTOR(root, inter2) { - OATPP_LOGD("aaa", "inter2"); - return (this->*prevMethod)(request); - }*/ ENDPOINT("GET", "/", root) { //OATPP_LOGV(TAG, "GET '/'"); return createResponse(Status::CODE_200, "Hello World!!!"); diff --git a/test/oatpp/web/app/ControllerAsync.hpp b/test/oatpp/web/app/ControllerAsync.hpp index 9e1d3dbc..45a6c93b 100644 --- a/test/oatpp/web/app/ControllerAsync.hpp +++ b/test/oatpp/web/app/ControllerAsync.hpp @@ -61,15 +61,6 @@ public: #include OATPP_CODEGEN_BEGIN(ApiController) -// ENDPOINT_INTERCEPTOR_ASYNC(Root, inter1) { -// OATPP_LOGD("aaa", "inter1"); -// return (this->*prevMethod)(request); -// } -// ENDPOINT_INTERCEPTOR(root, inter2) { -// OATPP_LOGD("aaa", "inter2"); -// return (this->*prevMethod)(request); -// } - ENDPOINT_ASYNC("GET", "/", Root) { ENDPOINT_ASYNC_INIT(Root)