From f8ee6d4dadbc8f28095346b91d0a3ed3ed495c4f Mon Sep 17 00:00:00 2001 From: ipknHama Date: Tue, 15 Apr 2014 05:11:37 +0900 Subject: add test for parameter tagging, response --- http_response.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'http_response.h') diff --git a/http_response.h b/http_response.h index 7b862c4..9cbfd02 100644 --- a/http_response.h +++ b/http_response.h @@ -29,11 +29,11 @@ namespace flask struct response { std::string body; - int status{200}; + int code{200}; std::unordered_map headers; response() {} - explicit response(int status) : status(status) {} + explicit response(int code) : code(code) {} response(std::string body) : body(std::move(body)) {} - response(int status, std::string body) : body(std::move(body)), status(status) {} + response(int code, std::string body) : body(std::move(body)), code(code) {} }; } -- cgit v1.2.3-54-g00ecf