]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
this can be a move
authorWolfgang Bumiller <wry.git@bumiller.com>
Mon, 19 Jan 2015 12:46:30 +0000 (13:46 +0100)
committerWolfgang Bumiller <wry.git@bumiller.com>
Mon, 19 Jan 2015 12:46:30 +0000 (13:46 +0100)
parser.cpp

index ba08ec8abbdd2778858cb2f31971d9f0a08a7b18..b5c63a3764b7a1248d8f277a35095693d145a72f 100644 (file)
@@ -4631,7 +4631,7 @@ static ast_value *parse_parameter_list(parser_t *parser, ast_value *var)
         fval->expression.flags |= AST_FLAG_VARIADIC;
     var = fval;
 
-    var->expression.type_params = params;
+    var->expression.type_params = move(params);
     var->expression.varparam = (ast_expression*)varparam;
     var->argcounter = argcounter;