summaryrefslogtreecommitdiff
path: root/src/hir/path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/path.hpp')
-rw-r--r--src/hir/path.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hir/path.hpp b/src/hir/path.hpp
index e51e3c50..561ddc83 100644
--- a/src/hir/path.hpp
+++ b/src/hir/path.hpp
@@ -12,6 +12,10 @@ class TypeRef;
/// Simple path - Absolute with no generic parameters
struct SimplePath
{
+ SimplePath():
+ m_crate_name("")
+ {
+ }
SimplePath(::std::string crate):
m_crate_name( mv$(crate) )
{