summaryrefslogtreecommitdiff
path: root/src/hir/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/path.cpp')
-rw-r--r--src/hir/path.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hir/path.cpp b/src/hir/path.cpp
index 0df8a6d2..f0590e38 100644
--- a/src/hir/path.cpp
+++ b/src/hir/path.cpp
@@ -103,6 +103,10 @@ namespace HIR {
::HIR::PathParams::PathParams()
{
}
+::HIR::PathParams::PathParams(::HIR::TypeRef ty0)
+{
+ m_types.push_back( mv$(ty0) );
+}
::HIR::PathParams HIR::PathParams::clone() const
{
PathParams rv;