mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd::ctx: Conclude the best name for function after deliberation.
This commit is contained in:
parent
5b91cbdca1
commit
8f9caa33c3
2 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ class ircd::ctx::view
|
|||
template<class lock> T &wait(lock &);
|
||||
|
||||
// Producer interface;
|
||||
void expose(T &);
|
||||
void operator()(T &);
|
||||
|
||||
view() = default;
|
||||
~view() noexcept;
|
||||
|
@ -66,7 +66,7 @@ noexcept
|
|||
template<class T,
|
||||
class mutex>
|
||||
void
|
||||
ircd::ctx::view<T, mutex>::expose(T &t)
|
||||
ircd::ctx::view<T, mutex>::operator()(T &t)
|
||||
{
|
||||
if(!waiting)
|
||||
return;
|
||||
|
|
|
@ -271,7 +271,7 @@ try
|
|||
if(opts->notify)
|
||||
{
|
||||
notify_hook(event);
|
||||
vm::accept.expose(accepted);
|
||||
vm::accept(accepted);
|
||||
}
|
||||
|
||||
if(opts->effects)
|
||||
|
|
Loading…
Reference in a new issue