diff options
author | lloyd <[email protected]> | 2014-05-01 02:22:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-05-01 02:22:54 +0000 |
commit | 6472e22b40c1a48847820b856cd8a2e25c981b95 (patch) | |
tree | 976156491c1ba087d4fedc1f0f4ba2409293f884 /src/lib/utils/http_util/http_util.h | |
parent | d2e86fc7dca835058bcc91ce0fb0cc787383a7bb (diff) |
Add default constructors to work around VC2013 issue. Github #17
Diffstat (limited to 'src/lib/utils/http_util/http_util.h')
-rw-r--r-- | src/lib/utils/http_util/http_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/utils/http_util/http_util.h b/src/lib/utils/http_util/http_util.h index d024add4d..56cf0687b 100644 --- a/src/lib/utils/http_util/http_util.h +++ b/src/lib/utils/http_util/http_util.h @@ -22,6 +22,8 @@ namespace HTTP { struct Response { public: + Response() : m_status_code(0), m_status_message("Uninitialized") {} + Response(unsigned int status_code, const std::string& status_message, const std::vector<byte>& body, const std::map<std::string, std::string>& headers) : |