aboutsummaryrefslogtreecommitdiffstats
path: root/http_response.h
diff options
context:
space:
mode:
Diffstat (limited to 'http_response.h')
-rw-r--r--http_response.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/http_response.h b/http_response.h
index eb7926f..7b862c4 100644
--- a/http_response.h
+++ b/http_response.h
@@ -29,11 +29,11 @@ namespace flask
struct response
{
std::string body;
- int status = 200;
+ int status{200};
std::unordered_map<std::string, std::string> headers;
response() {}
explicit response(int status) : status(status) {}
response(std::string body) : body(std::move(body)) {}
- response(std::string body, int status) : body(std::move(body)), status(status) {}
+ response(int status, std::string body) : body(std::move(body)), status(status) {}
};
}