From: Wolfgang Bumiller Date: Mon, 19 Jan 2015 12:46:30 +0000 (+0100) Subject: this can be a move X-Git-Tag: xonotic-v0.8.2~26 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=380fb3d44fac96a0bef0962c7e6e526683501e86;p=xonotic%2Fgmqcc.git this can be a move --- diff --git a/parser.cpp b/parser.cpp index ba08ec8..b5c63a3 100644 --- a/parser.cpp +++ b/parser.cpp @@ -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;