[core] fix various compilation issues

This commit is contained in:
Konstantin Käfer
2016-02-29 18:23:24 +01:00
parent 001d24dc33
commit 65acf35dcf
5 changed files with 15 additions and 10 deletions

View File

@@ -525,11 +525,11 @@ void HTTPCURLRequest::handleResult(CURLcode code) {
} else if (responseCode >= 500 && responseCode < 600) {
response->error =
std::make_unique<Error>(Error::Reason::Server, std::string{ "HTTP status code " } +
std::to_string(responseCode));
util::toString(responseCode));
} else {
response->error =
std::make_unique<Error>(Error::Reason::Other, std::string{ "HTTP status code " } +
std::to_string(responseCode));
util::toString(responseCode));
}
}