From ac26f8e79fbf640ba770a35c1f051c2816f6346f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 28 May 2015 20:28:48 -0400 Subject: Pass strings by const reference where possible --- Source/Core/InputCommon/ControllerInterface/ExpressionParser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ExpressionParser.h') diff --git a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.h b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.h index ca33cc2052..9575ff619d 100644 --- a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.h +++ b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.h @@ -63,7 +63,7 @@ enum ExpressionParseStatus EXPRESSION_PARSE_NO_DEVICE, }; -ExpressionParseStatus ParseExpression(std::string expr, ControlFinder &finder, Expression **expr_out); +ExpressionParseStatus ParseExpression(const std::string& expr, ControlFinder &finder, Expression **expr_out); } } -- cgit v1.2.3