diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2021-07-24 17:30:12 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2021-07-26 20:40:18 (GMT) |
commit | 24cbfb8d964564711c764658a295abba560e837a (patch) | |
tree | cfc202e8bd4566c3e34963e8c678de711ddd0d22 /Source/cmConditionEvaluator.h | |
parent | c26f15c66dcf45c2245315251b31b8f0b671321b (diff) | |
download | CMake-24cbfb8d964564711c764658a295abba560e837a.zip CMake-24cbfb8d964564711c764658a295abba560e837a.tar.gz CMake-24cbfb8d964564711c764658a295abba560e837a.tar.bz2 |
Refactor: Turn `reducible` flag into boolean
Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
Diffstat (limited to 'Source/cmConditionEvaluator.h')
-rw-r--r-- | Source/cmConditionEvaluator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmConditionEvaluator.h b/Source/cmConditionEvaluator.h index ce25519..5d48ee8 100644 --- a/Source/cmConditionEvaluator.h +++ b/Source/cmConditionEvaluator.h @@ -55,12 +55,12 @@ private: cmArgumentList::iterator& argP1, cmArgumentList::iterator& argP2) const; - void HandlePredicate(bool value, int& reducible, + void HandlePredicate(bool value, bool& reducible, cmArgumentList::iterator& arg, cmArgumentList& newArgs, cmArgumentList::iterator& argP1, cmArgumentList::iterator& argP2) const; - void HandleBinaryOp(bool value, int& reducible, + void HandleBinaryOp(bool value, bool& reducible, cmArgumentList::iterator& arg, cmArgumentList& newArgs, cmArgumentList::iterator& argP1, cmArgumentList::iterator& argP2); |