summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/root.cpp b/src/parse/root.cpp
index a0b8329f..6be74e76 100644
--- a/src/parse/root.cpp
+++ b/src/parse/root.cpp
@@ -453,7 +453,7 @@ AST::Impl Parse_Impl(TokenStream& lex)
}
GET_CHECK_TOK(tok, lex, TOK_BRACE_OPEN);
- AST::Impl impl(impl_type, trait_type);
+ AST::Impl impl( ::std::move(params), ::std::move(impl_type), ::std::move(trait_type) );
// A sequence of method implementations
while( GET_TOK(tok, lex) != TOK_BRACE_CLOSE )