aboutsummaryrefslogtreecommitdiff
path: root/boot/symbol.cc
diff options
context:
space:
mode:
Diffstat (limited to 'boot/symbol.cc')
-rw-r--r--boot/symbol.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/symbol.cc b/boot/symbol.cc
index b32782e..fcafae4 100644
--- a/boot/symbol.cc
+++ b/boot/symbol.cc
@@ -409,9 +409,9 @@ namespace elna::boot
return unresolved_declaration;
}
- void symbol_bag::add_import(const symbol_bag& bag)
+ void symbol_bag::add_import(const std::shared_ptr<symbol_table>& symbols)
{
- this->imports.push_front(bag.exported_symbols());
+ this->imports.push_front(symbols);
}
bool symbol_bag::is_global() const