summaryrefslogtreecommitdiffstats
path: root/Source/cmConditionEvaluator.cxx
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2021-07-27 02:33:53 (GMT)
committerBrad King <brad.king@kitware.com>2021-08-03 14:55:46 (GMT)
commit17af3baddd7b7056114748f16e63b8de6b3f67e8 (patch)
tree6328c73f15cbb14991925a2ac5b432efac4ac73f /Source/cmConditionEvaluator.cxx
parent2b916606c5c3f1145edd5f0464b139d03b79ae44 (diff)
downloadCMake-17af3baddd7b7056114748f16e63b8de6b3f67e8.zip
CMake-17af3baddd7b7056114748f16e63b8de6b3f67e8.tar.gz
CMake-17af3baddd7b7056114748f16e63b8de6b3f67e8.tar.bz2
Refactor: Set `const` to `cmConditionEvaluator::IsKeyword` parameters
Diffstat (limited to 'Source/cmConditionEvaluator.cxx')
-rw-r--r--Source/cmConditionEvaluator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmConditionEvaluator.cxx b/Source/cmConditionEvaluator.cxx
index 38dfca5..cec9691 100644
--- a/Source/cmConditionEvaluator.cxx
+++ b/Source/cmConditionEvaluator.cxx
@@ -222,8 +222,9 @@ cmProp cmConditionEvaluator::GetVariableOrString(
}
//=========================================================================
-bool cmConditionEvaluator::IsKeyword(cm::static_string_view keyword,
- cmExpandedCommandArgument& argument) const
+bool cmConditionEvaluator::IsKeyword(
+ cm::static_string_view keyword,
+ const cmExpandedCommandArgument& argument) const
{
if ((this->Policy54Status != cmPolicies::WARN &&
this->Policy54Status != cmPolicies::OLD) &&