diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-06-16 13:09:57 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-06-16 13:14:03 (GMT) |
commit | 1cfaed0684e7e26687a3a0a607925456dc656c57 (patch) | |
tree | a4a11f521e29e6bcfeed94c21d3daaa39d5d5e6f /Source/cmList.h | |
parent | 8a99acd289e405c42e4b129cc6cf413fffd88769 (diff) | |
download | CMake-1cfaed0684e7e26687a3a0a607925456dc656c57.zip CMake-1cfaed0684e7e26687a3a0a607925456dc656c57.tar.gz CMake-1cfaed0684e7e26687a3a0a607925456dc656c57.tar.bz2 |
list(): restore SUBLIST behavior
Fixes: #25002
Diffstat (limited to 'Source/cmList.h')
-rw-r--r-- | Source/cmList.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmList.h b/Source/cmList.h index d9ce951..eba0400 100644 --- a/Source/cmList.h +++ b/Source/cmList.h @@ -322,7 +322,7 @@ public: // extract sublist in range [first, last) cmList sublist(const_iterator first, const_iterator last) const { - return cmList{ first, last }; + return cmList{ first, last, ExpandElements::No, EmptyElements::Yes }; } // Extract sublist in range [first, last) // Throw std::out_of_range if pos is invalid |