mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
cmList: Avoid using operator-> on input iterator
As of C++23, some standard library iterator types deprecate it.
This commit is contained in:
@@ -1192,7 +1192,7 @@ private:
|
||||
}
|
||||
} else {
|
||||
for (; first != last; ++first) {
|
||||
if (!first->empty() || emptyElements == EmptyElements::Yes) {
|
||||
if (!(*first).empty() || emptyElements == EmptyElements::Yes) {
|
||||
insertPos = container.insert(insertPos, *first);
|
||||
++insertPos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user