diff options
author | Brad King <brad.king@kitware.com> | 2015-12-17 20:03:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-18 15:02:07 (GMT) |
commit | 036b6ef7c47ccb19f291d2f36df37aaf885b4ba8 (patch) | |
tree | d6072e0a2d63c5bcb2663d5b4582f521737bd93a /Source/cmAlgorithms.h | |
parent | 12293371ee0f3b930afee8d328415968eb8201e6 (diff) | |
download | CMake-036b6ef7c47ccb19f291d2f36df37aaf885b4ba8.zip CMake-036b6ef7c47ccb19f291d2f36df37aaf885b4ba8.tar.gz CMake-036b6ef7c47ccb19f291d2f36df37aaf885b4ba8.tar.bz2 |
Port CMake from cmIML to KWIML
KWIML no longer uses a configured prefix.
Diffstat (limited to 'Source/cmAlgorithms.h')
-rw-r--r-- | Source/cmAlgorithms.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmAlgorithms.h b/Source/cmAlgorithms.h index bda933b..ef607d2 100644 --- a/Source/cmAlgorithms.h +++ b/Source/cmAlgorithms.h @@ -162,13 +162,13 @@ struct cmRange const_iterator end() const { return End; } bool empty() const { return std::distance(Begin, End) == 0; } difference_type size() const { return std::distance(Begin, End); } - cmRange& advance(cmIML_INT_intptr_t amount) + cmRange& advance(KWIML_INT_intptr_t amount) { std::advance(Begin, amount); return *this; } - cmRange& retreat(cmIML_INT_intptr_t amount) + cmRange& retreat(KWIML_INT_intptr_t amount) { std::advance(End, -amount); return *this; |