diff options
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r-- | src/ast/ast.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp index e7a0ba2d..7a417e4f 100644 --- a/src/ast/ast.hpp +++ b/src/ast/ast.hpp @@ -106,9 +106,9 @@ public: Function(TypeParams params, Class fcn_class, TypeRef ret_type, Arglist args, Expr code):
m_fcn_class(fcn_class),
m_generic_params(params),
- m_code(code),
- m_rettype(ret_type),
- m_args(args)
+ m_code( ::std::move(code) ),
+ m_rettype( move(ret_type) ),
+ m_args( move(args) )
{
}
|