diff --git a/include/ircd/ctx/view.h b/include/ircd/ctx/view.h index 1cc149263..c5d96b427 100644 --- a/include/ircd/ctx/view.h +++ b/include/ircd/ctx/view.h @@ -49,7 +49,7 @@ class ircd::ctx::view template T &wait(lock &); // Producer interface; - void expose(T &); + void operator()(T &); view() = default; ~view() noexcept; @@ -66,7 +66,7 @@ noexcept template void -ircd::ctx::view::expose(T &t) +ircd::ctx::view::operator()(T &t) { if(!waiting) return; diff --git a/ircd/m/vm.cc b/ircd/m/vm.cc index b9b0ac909..beb1490e8 100644 --- a/ircd/m/vm.cc +++ b/ircd/m/vm.cc @@ -271,7 +271,7 @@ try if(opts->notify) { notify_hook(event); - vm::accept.expose(accepted); + vm::accept(accepted); } if(opts->effects)