diff options
Diffstat (limited to 'src/yuescript/ast.hpp')
-rw-r--r-- | src/yuescript/ast.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuescript/ast.hpp b/src/yuescript/ast.hpp index 681c27f..3443c7f 100644 --- a/src/yuescript/ast.hpp +++ b/src/yuescript/ast.hpp | |||
@@ -455,8 +455,7 @@ public: | |||
455 | 455 | ||
456 | void dup(const _ast_list& src) { | 456 | void dup(const _ast_list& src) { |
457 | for (ast_node* obj : src.m_objects) { | 457 | for (ast_node* obj : src.m_objects) { |
458 | m_objects.push_back(obj); | 458 | push_back(obj); |
459 | obj->retain(); | ||
460 | } | 459 | } |
461 | } | 460 | } |
462 | 461 | ||