0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-19 18:38:21 +02:00

ircd::ctx::latch: Replace closure w/ simple bind statement.

This commit is contained in:
Jason Volk 2020-07-11 13:57:54 -07:00
parent ef778b07bf
commit 8ffa5c55a5

View file

@ -58,10 +58,7 @@ inline void
ircd::ctx::latch::wait()
const
{
d.wait([this]
{
return is_ready();
});
d.wait(std::bind(&latch::is_ready, this));
}
inline void