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:
parent
ef778b07bf
commit
8ffa5c55a5
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue