diff options
-rw-r--r-- | Libraries/LibJS/AST.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/AST.h b/Libraries/LibJS/AST.h index 404e376d30..7915fe7baa 100644 --- a/Libraries/LibJS/AST.h +++ b/Libraries/LibJS/AST.h @@ -87,7 +87,7 @@ public: template<typename T, typename... Args> T& append(Args&&... args) { - auto child = make<T>(forward<Args>(args)...); + auto child = create_ast_node<T>(forward<Args>(args)...); m_children.append(move(child)); return static_cast<T&>(m_children.last()); } |