1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

remove unnecessary attach()

This commit is contained in:
Oliver Giles 2017-12-06 21:59:22 +02:00
parent 272176a6a5
commit 4c63cef7ac

View File

@ -462,6 +462,6 @@ kj::Promise<void> Server::handleFdRead(kj::AsyncInputStream* stream, std::vector
cb(buffer.data(), sz); cb(buffer.data(), sz);
return handleFdRead(stream, kj::mv(buffer), cb); return handleFdRead(stream, kj::mv(buffer), cb);
} }
return kj::Promise<void>(kj::READY_NOW).attach(kj::mv(buffer)); return kj::Promise<void>(kj::READY_NOW);
})); }));
} }