From 294b1895ef2963cfc6fda1818d9a9f3b8b0af48f Mon Sep 17 00:00:00 2001 From: Michael M Date: Thu, 8 Jun 2017 00:23:38 -0700 Subject: [PATCH] ExpressionParser: std::move() tokens vector to parser --- Source/Core/InputCommon/ControlReference/ExpressionParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp index c9cf998ea9..85eb86d598 100644 --- a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp +++ b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp @@ -519,7 +519,7 @@ static ParseResult ParseComplexExpression(const std::string& str) if (tokenize_status != ParseStatus::Successful) return {tokenize_status}; - return Parser(tokens).Parse(); + return Parser(std::move(tokens)).Parse(); } static std::unique_ptr ParseBarewordExpression(const std::string& str)