Commit 87dab950 authored by Kenton Varda's avatar Kenton Varda

Fix build on GCC 4.8, as used by Travis-CI.

parent 22d76bfb
...@@ -694,7 +694,7 @@ kj::String HttpHeaders::serialize(kj::ArrayPtr<const char> word1, ...@@ -694,7 +694,7 @@ kj::String HttpHeaders::serialize(kj::ArrayPtr<const char> word1,
} }
kj::String HttpHeaders::toString() const { kj::String HttpHeaders::toString() const {
return serialize(nullptr, nullptr, nullptr, {}); return serialize(nullptr, nullptr, nullptr, ConnectionHeaders());
} }
// ======================================================================================= // =======================================================================================
...@@ -1528,7 +1528,7 @@ public: ...@@ -1528,7 +1528,7 @@ public:
}; };
} else { } else {
KJ_FAIL_REQUIRE("received invalid HTTP response") { break; } KJ_FAIL_REQUIRE("received invalid HTTP response") { break; }
return {}; return HttpClient::Response();
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment