summaryrefslogtreecommitdiffstats
path: root/Source/cmConditionEvaluator.h
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.h
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.h')
-rw-r--r--Source/cmConditionEvaluator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmConditionEvaluator.h b/Source/cmConditionEvaluator.h
index a7e3ce8..d74e28b 100644
--- a/Source/cmConditionEvaluator.h
+++ b/Source/cmConditionEvaluator.h
@@ -39,7 +39,7 @@ private:
cmProp GetVariableOrString(const cmExpandedCommandArgument& argument) const;
bool IsKeyword(cm::static_string_view keyword,
- cmExpandedCommandArgument& argument) const;
+ const cmExpandedCommandArgument& argument) const;
bool GetBooleanValue(cmExpandedCommandArgument& arg) const;