mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-03 04:03:23 +03:00
cmList: Avoid using operator-> on input iterator
As of C++23, some standard library iterator types deprecate it.
This commit is contained in:
1 parent
e4483b8871
commit
641c02a3ce
1 file changed
+1
-1
+1
-1
@@ -1192,7 +1192,7 @@ private:
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (; first != last; ++first) {
|
for (; first != last; ++first) {
|
||||||
if (!first->empty() || emptyElements == EmptyElements::Yes) {
|
if (!(*first).empty() || emptyElements == EmptyElements::Yes) {
|
||||||
insertPos = container.insert(insertPos, *first);
|
insertPos = container.insert(insertPos, *first);
|
||||||
++insertPos;
|
++insertPos;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user