summaryrefslogtreecommitdiff
path: root/src/ast/ast.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r--src/ast/ast.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp
index e65ba2c2..700a7e40 100644
--- a/src/ast/ast.hpp
+++ b/src/ast/ast.hpp
@@ -549,9 +549,7 @@ public:
m_neg_impls.emplace_back( mv$(impl) );
}
void add_macro(bool is_exported, ::std::string name, MacroRulesPtr macro);
- void add_macro_import(::std::string name, const MacroRules& mr) {
- m_macro_import_res.push_back( NamedNS<const MacroRules*>( mv$(name), &mr, false ) );
- }
+ void add_macro_import(::std::string name, const MacroRules& mr);