aboutsummaryrefslogtreecommitdiffstats
path: root/http_response.h
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-04-10 08:17:08 +0900
committeripknHama <ipknhama@gmail.com>2014-04-10 08:17:08 +0900
commitb33c7a4f2957d4468afc1e7c4463189e180c8daa (patch)
treeb3914100d8d6c888829645b0a98794d6e08dce7d /http_response.h
parentd533a619c99c5ead31e86afd14dd9b017c63a9ab (diff)
downloadcrow-b33c7a4f2957d4468afc1e7c4463189e180c8daa.tar.gz
crow-b33c7a4f2957d4468afc1e7c4463189e180c8daa.zip
removing black magic; merging router with app
Diffstat (limited to 'http_response.h')
-rw-r--r--http_response.h6
1 files changed, 2 insertions, 4 deletions
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<std::string, std::string> 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) {}
};
}