From 51e16fbcbc5b70f3b3d6709bb8c49b5afb499c3c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 6 Sep 2009 09:00:20 +0200 Subject: Call proper base constructors from cli_unit --- cli/semantics/namespace.hxx | 4 ++++ cli/semantics/unit.hxx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'cli') 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 (""). -- cgit v1.1