diff options
author | Jaeseung Ha <ipknhama@gmail.com> | 2015-01-19 18:58:19 +0900 |
---|---|---|
committer | Jaeseung Ha <ipknhama@gmail.com> | 2015-01-19 18:58:19 +0900 |
commit | e27de5edac09044b97d077e364bd5f8a5a30909a (patch) | |
tree | 514dc031ff766b3d647cf074713830630c8ca3c6 /include/http_request.h | |
parent | 3fc1424e6260c96f3ed255714ba29a56b6439299 (diff) | |
download | crow-e27de5edac09044b97d077e364bd5f8a5a30909a.tar.gz crow-e27de5edac09044b97d077e364bd5f8a5a30909a.zip |
add const to request::get_header_value method
Diffstat (limited to 'include/http_request.h')
-rw-r--r-- | include/http_request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/http_request.h b/include/http_request.h index 1319b2d..75bce73 100644 --- a/include/http_request.h +++ b/include/http_request.h @@ -43,7 +43,7 @@ namespace crow headers.emplace(std::move(key), std::move(value)); } - const std::string& get_header_value(const std::string& key) + const std::string& get_header_value(const std::string& key) const { return crow::get_header_value(headers, key); } |