aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Rewrite/RewriteRope.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Rewrite/RewriteRope.h')
-rw-r--r--include/clang/Rewrite/RewriteRope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Rewrite/RewriteRope.h b/include/clang/Rewrite/RewriteRope.h
index 7faa451290..fa5464bf3e 100644
--- a/include/clang/Rewrite/RewriteRope.h
+++ b/include/clang/Rewrite/RewriteRope.h
@@ -14,9 +14,9 @@
#ifndef LLVM_CLANG_REWRITEROPE_H
#define LLVM_CLANG_REWRITEROPE_H
-#include "llvm/ADT/iterator.h"
#include <cstring>
#include <cassert>
+#include <iterator>
namespace clang {
//===--------------------------------------------------------------------===//
@@ -102,7 +102,7 @@ namespace clang {
/// in a RopePiece, then iterates over RopePiece's in a RopePieceBTreeLeaf,
/// then iterates over RopePieceBTreeLeaf's in a RopePieceBTree.
class RopePieceBTreeIterator :
- public forward_iterator<const char, ptrdiff_t> {
+ public std::iterator<std::forward_iterator_tag, const char, ptrdiff_t> {
/// CurNode - The current B+Tree node that we are inspecting.
const void /*RopePieceBTreeLeaf*/ *CurNode;
/// CurPiece - The current RopePiece in the B+Tree node that we're