diff options
author | Anna Henningsen <anna@addaleax.net> | 2020-04-08 18:14:00 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-06-14 15:53:38 +0300 |
commit | 8a7201b25fa2e5342b5d737742586bcd5ea1da5e (patch) | |
tree | 57382552b4b50d471b91ab41d19df3eeab0b67d4 /src/node_i18n.cc | |
parent | c17d2f99018ae48ed82a90a9eccc570ed1ae83c6 (diff) |
src: introduce BaseObject base FunctionTemplate
PR-URL: https://github.com/nodejs/node/pull/33772
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'src/node_i18n.cc')
-rw-r--r-- | src/node_i18n.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_i18n.cc b/src/node_i18n.cc index 169374aa5de..5382e469a40 100644 --- a/src/node_i18n.cc +++ b/src/node_i18n.cc @@ -811,6 +811,7 @@ void Initialize(Local<Object> target, // ConverterObject { Local<FunctionTemplate> t = FunctionTemplate::New(env->isolate()); + t->Inherit(BaseObject::GetConstructorTemplate(env)); t->InstanceTemplate()->SetInternalFieldCount( ConverterObject::kInternalFieldCount); Local<String> converter_string = |