0
0
Fork 0
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:
Jason Volk 2018-03-27 00:52:02 -07:00
parent 5b91cbdca1
commit 8f9caa33c3
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -271,7 +271,7 @@ try
if(opts->notify)
{
notify_hook(event);
vm::accept.expose(accepted);
vm::accept(accepted);
}
if(opts->effects)