summaryrefslogtreecommitdiff
path: root/odb/semantics/unit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/semantics/unit.hxx')
-rw-r--r--odb/semantics/unit.hxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/odb/semantics/unit.hxx b/odb/semantics/unit.hxx
index 41cb39b..b078521 100644
--- a/odb/semantics/unit.hxx
+++ b/odb/semantics/unit.hxx
@@ -16,14 +16,7 @@ namespace semantics
class unit: public graph<node, edge>, public namespace_
{
public:
- unit (path const& file)
- : node (file, 1, 1), graph_ (*this)
- {
- // Use a special edge to get this->name() return the global
- // namespace name ("").
- //
- new_edge<global_names> (*this, *this);
- }
+ unit (path const&);
// Mapping from tree nodes to semantic graph nodes.
//