summaryrefslogtreecommitdiff
path: root/src/ast/ast.hpp
diff options
context:
space:
mode:
authorJohn Hodge (sonata) <tpg@mutabah.net>2015-01-12 20:56:44 +0800
committerJohn Hodge (sonata) <tpg@mutabah.net>2015-01-12 20:56:44 +0800
commited264377ef0e4ed3a5b96b39f3282b3c10d65455 (patch)
treec1ec1312c0a00a0521d93aac291b5210eff794b7 /src/ast/ast.hpp
parent4af0826c332c52af0796a2fe30074bbd6aba664b (diff)
downloadmrust-ed264377ef0e4ed3a5b96b39f3282b3c10d65455.tar.gz
TypeRef fleshed out
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r--src/ast/ast.hpp6
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) )
{
}