mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Refactor: Set const to cmConditionEvaluator::IsKeyword parameters
This commit is contained in:
@@ -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) &&
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user