diff options
Diffstat (limited to 'odb/semantics/unit.cxx')
-rw-r--r-- | odb/semantics/unit.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/semantics/unit.cxx b/odb/semantics/unit.cxx index 3540e15..56d4f87 100644 --- a/odb/semantics/unit.cxx +++ b/odb/semantics/unit.cxx @@ -3,6 +3,8 @@ // copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC // license : GNU GPL v3; see accompanying LICENSE file +#include <odb/gcc.hxx> + #include <cutl/compiler/type-info.hxx> #include <odb/semantics/unit.hxx> @@ -10,7 +12,7 @@ namespace semantics { unit:: unit (path const& file) - : node (file, 1, 1), graph_ (*this) + : node (file, 1, 1, global_namespace), graph_ (*this) { // Use a special edge to get this->name() return the global // namespace name (""). |