From b33c7a4f2957d4468afc1e7c4463189e180c8daa Mon Sep 17 00:00:00 2001 From: ipknHama Date: Thu, 10 Apr 2014 08:17:08 +0900 Subject: removing black magic; merging router with app --- http_response.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'http_response.h') diff --git a/http_response.h b/http_response.h index 7927d6d..4f19848 100644 --- a/http_response.h +++ b/http_response.h @@ -33,9 +33,7 @@ namespace flask std::unordered_map headers; response() {} response(int status) : status(status) {} - response(const std::string& body) : body(body) {} - response(std::string&& body) : body(std::move(body)) {} - response(const std::string& body, int status) : body(body), status(status) {} - response(std::string&& body, int status) : body(std::move(body)), status(status) {} + response(std::string body) : body(std::move(body)) {} + response(std::string body, int status) : body(std::move(body)), status(status) {} }; } -- cgit v1.2.3-54-g00ecf