diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-12-30 20:55:14 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-01 21:51:50 (GMT) |
commit | 1b135cdff26e36fdd846edd2625e7edd7943b0b4 (patch) | |
tree | c3159b901697324d9055f8f64363a4e5325a51f9 /Source/cmLinkedTree.h | |
parent | ae8525b82f03d3ce0c1e880e62bec0956f90839b (diff) | |
download | CMake-1b135cdff26e36fdd846edd2625e7edd7943b0b4.zip CMake-1b135cdff26e36fdd846edd2625e7edd7943b0b4.tar.gz CMake-1b135cdff26e36fdd846edd2625e7edd7943b0b4.tar.bz2 |
cmLinkedTree: Remove deprecated std::iterator
Diffstat (limited to 'Source/cmLinkedTree.h')
-rw-r--r-- | Source/cmLinkedTree.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLinkedTree.h b/Source/cmLinkedTree.h index 975f052..099fb6d 100644 --- a/Source/cmLinkedTree.h +++ b/Source/cmLinkedTree.h @@ -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; |