mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd:Ⓜ️:vm::eval: Use delegation ctor on overloads.
This commit is contained in:
parent
13003986bc
commit
32c4ee29c5
1 changed files with 2 additions and 2 deletions
|
@ -315,7 +315,7 @@ ircd::m::vm::eval::eval(const event &event,
|
|||
|
||||
ircd::m::vm::eval::eval(const json::array &pdus,
|
||||
const vm::opts &opts)
|
||||
:opts{&opts}
|
||||
:eval{opts}
|
||||
{
|
||||
// Sort the events first to avoid complicating the evals; the events might
|
||||
// be from different rooms but it doesn't matter.
|
||||
|
@ -326,7 +326,7 @@ ircd::m::vm::eval::eval(const json::array &pdus,
|
|||
|
||||
ircd::m::vm::eval::eval(const vector_view<m::event> &events,
|
||||
const vm::opts &opts)
|
||||
:opts{&opts}
|
||||
:eval{opts}
|
||||
{
|
||||
operator()(events);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue