diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-06 09:00:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-06 09:00:20 +0200 |
commit | 51e16fbcbc5b70f3b3d6709bb8c49b5afb499c3c (patch) | |
tree | 200c9a187ee161e583a69f9360182fdfd5af001b /cli | |
parent | 4974b4763bd60eb875f93a71dbe2fe82ecfed9fc (diff) |
Call proper base constructors from cli_unit
Diffstat (limited to 'cli')
-rw-r--r-- | cli/semantics/namespace.hxx | 4 | ||||
-rw-r--r-- | cli/semantics/unit.hxx | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cli/semantics/namespace.hxx b/cli/semantics/namespace.hxx index 92a3b13..f05798e 100644 --- a/cli/semantics/namespace.hxx +++ b/cli/semantics/namespace.hxx @@ -19,6 +19,10 @@ namespace semantics : node (file, line, column) { } + + namespace_ () + { + } }; } diff --git a/cli/semantics/unit.hxx b/cli/semantics/unit.hxx index 01bb195..c15d172 100644 --- a/cli/semantics/unit.hxx +++ b/cli/semantics/unit.hxx @@ -156,7 +156,7 @@ namespace semantics public: cli_unit (path const& file) - : namespace_ (file, 1, 1) + : node (file, 1, 1) { // Use a special edge to get this->name() return the global // namespace name (""). |