summaryrefslogtreecommitdiff
path: root/odb/semantics/unit.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-02 22:21:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-02 22:21:11 +0200
commit7d1a8bc0e5011dd2b391608a207cf436b388576e (patch)
tree56776c5bad19249e958d298439f7d21489ed28c0 /odb/semantics/unit.hxx
parent2b02d443ab344bc02dfc2891fb1a57c6520c393f (diff)
Move constructors to the source files
This is done so that when the plugin is built as a static library, the object files with type information get pulled in.
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.
//