summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/semantics/namespace.hxx4
-rw-r--r--cli/semantics/unit.hxx2
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 ("").