diff --git a/include/ircd/js/string.h b/include/ircd/js/string.h index c1d2493ba..15eb560de 100644 --- a/include/ircd/js/string.h +++ b/include/ircd/js/string.h @@ -114,6 +114,7 @@ template std::ostream & operator<<(std::ostream &os, const string using string = basic::string; using heap_string = basic::string; +using persist_string = basic::string; // // Implementation diff --git a/include/ircd/js/trap.h b/include/ircd/js/trap.h index b9b8e3a4b..da32ed7a8 100644 --- a/include/ircd/js/trap.h +++ b/include/ircd/js/trap.h @@ -33,7 +33,7 @@ class trap JSPropertySpec ps[2]; JSFunctionSpec fs[2]; std::unique_ptr _class; - std::map children; + std::map children; // Override these to define JS objects in C virtual value on_call(object::handle, const args &);