summaryrefslogtreecommitdiff
path: root/cli/semantics/elements.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/semantics/elements.hxx')
-rw-r--r--cli/semantics/elements.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/semantics/elements.hxx b/cli/semantics/elements.hxx
index f9b08fc..da9e031 100644
--- a/cli/semantics/elements.hxx
+++ b/cli/semantics/elements.hxx
@@ -15,6 +15,8 @@
#include <utility> // std::pair
#include <cassert>
+#include <cutl/fs/path.hxx>
+
#include <cutl/container/graph.hxx>
#include <cutl/container/pointer-iterator.hxx>
@@ -35,9 +37,11 @@ namespace semantics
//
//
- typedef string path;
typedef string name;
+ using fs::path;
+ using fs::invalid_path;
+
//
//
@@ -141,6 +145,7 @@ namespace semantics
// For virtual inheritance. Should never be actually called.
//
node ()
+ : file_ ("")
{
std::abort ();
}