From 04c6b67649e429b45d8354d2563fa33e95c7900f Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 25 Oct 2016 02:55:26 -0700 Subject: [PATCH] fixup! ircd::js: Stub runtime/context callback framework. --- ircd/js.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ircd/js.cc b/ircd/js.cc index e186242bc..de0edd7ae 100644 --- a/ircd/js.cc +++ b/ircd/js.cc @@ -1713,7 +1713,7 @@ ircd::js::context::context(JSRuntime *const &runtime, cx = nullptr; } } -,opts{opts} +,opts(opts) ,except{nullptr} ,state {{ @@ -2107,7 +2107,7 @@ ircd::js::runtime::runtime(const struct opts &opts) JS_NewRuntime(opts.maxbytes), JS_DestroyRuntime } -,opts{opts} +,opts(opts) { // We use their privdata to find `this` via our(JSRuntime*) function. // Any additional user privdata will have to ride a member in this class itself. @@ -2135,7 +2135,7 @@ ircd::js::runtime::runtime(const struct opts &opts) ircd::js::runtime::runtime(runtime &&other) noexcept :custom_ptr{std::move(other)} -,opts{std::move(other.opts)} +,opts(std::move(other.opts)) { // Branch not taken for null/defaulted instance of JSRuntime smart ptr if(!!*this)