mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-26 10:48:38 -06:00
cmLinkedTree: Remove deprecated std::iterator
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <assert.h>
|
||||
#include <iterator>
|
||||
#include <vector>
|
||||
|
||||
/**
|
||||
@@ -33,7 +32,7 @@ class cmLinkedTree
|
||||
typedef T& ReferenceType;
|
||||
|
||||
public:
|
||||
class iterator : public std::iterator<std::forward_iterator_tag, T>
|
||||
class iterator
|
||||
{
|
||||
friend class cmLinkedTree;
|
||||
cmLinkedTree* Tree;
|
||||
|
||||
Reference in New Issue
Block a user