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:
parent
272176a6a5
commit
4c63cef7ac
@ -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);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user