Commit 52deaeeb authored by Harris Hancock's avatar Harris Hancock

Silence compiler warning

parent 7260fe75
......@@ -332,7 +332,7 @@ kj::Promise<void> JsonRpc::ContentLengthTransport::send(kj::StringPtr text) {
kj::Promise<kj::String> JsonRpc::ContentLengthTransport::receive() {
return input->readMessage()
.then([this](kj::HttpInputStream::Message&& message) {
.then([](kj::HttpInputStream::Message&& message) {
auto promise = message.body->readAllText();
return promise.attach(kj::mv(message.body));
});
......
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