summaryrefslogtreecommitdiff
path: root/src/hir_conv/bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir_conv/bind.cpp')
-rw-r--r--src/hir_conv/bind.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hir_conv/bind.cpp b/src/hir_conv/bind.cpp
index 6608f230..6581911c 100644
--- a/src/hir_conv/bind.cpp
+++ b/src/hir_conv/bind.cpp
@@ -214,9 +214,7 @@ namespace {
e.binding = ::HIR::TypeRef::TypePathBinding::make_Enum(&e3);
),
(Trait,
- ::std::vector< ::HIR::GenericPath> traits;
- traits.push_back( mv$(e2) );
- ty.m_data = ::HIR::TypeRef::Data::make_TraitObject({ mv$(traits), {} });
+ ty.m_data = ::HIR::TypeRef::Data::make_TraitObject({ mv$(e2), {}, {} });
)
)
)