diff options
author | Artur Ryt <artur.ryt@gmail.com> | 2019-02-07 21:28:03 (GMT) |
---|---|---|
committer | Artur Ryt <artur.ryt@gmail.com> | 2019-02-07 21:38:12 (GMT) |
commit | 15bdbec0176e3aa620bb5bda3631819c5ca18eaf (patch) | |
tree | a681f34ca76d70956619b7921a0e2a37e5aa56e9 /Source/cmInstallCommandArguments.cxx | |
parent | 41802ef35d58ef9d8761388abeee202503f11642 (diff) | |
download | CMake-15bdbec0176e3aa620bb5bda3631819c5ca18eaf.zip CMake-15bdbec0176e3aa620bb5bda3631819c5ca18eaf.tar.gz CMake-15bdbec0176e3aa620bb5bda3631819c5ca18eaf.tar.bz2 |
cmAlgorithms: Make cmRange advance/retreat safe for rvalues
In rvalue context these functions have to return cmRange
by copy instead of reference to temporary object
It allows to use ranged-for over cmMakeRange(xxx).advance(yyy)
Diffstat (limited to 'Source/cmInstallCommandArguments.cxx')
0 files changed, 0 insertions, 0 deletions