diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-05-28 21:26:06 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-05-28 21:26:06 -0400 |
| commit | 68d6f07b5c7251dce346f3eaf15eb637b869ab4b (patch) | |
| tree | 86b0b0da5ddfd5659eeaf39f07e314012798cd33 /Source/Core/InputCommon/ControllerInterface/ExpressionParser.h | |
| parent | 6ff3fcee597663066c966a54ee51aab7fa166cd9 (diff) | |
| parent | ac26f8e79fbf640ba770a35c1f051c2816f6346f (diff) | |
Merge pull request #2476 from lioncash/string
Pass strings by const reference where possible
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ExpressionParser.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/ExpressionParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |
