diff options
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/iterator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/iterator.h b/include/llvm/ADT/iterator.h index 00d0ba15ed..0b33d7e0a1 100644 --- a/include/llvm/ADT/iterator.h +++ b/include/llvm/ADT/iterator.h @@ -32,7 +32,7 @@ namespace llvm { /// terms of addition of one. These aren't equivalent for all iterator /// categories, and respecting that adds a lot of complexity for little gain. template <typename DerivedT, typename IteratorCategoryT, typename T, - typename DifferenceTypeT, typename PointerT = T *, + typename DifferenceTypeT = ptrdiff_t, typename PointerT = T *, typename ReferenceT = T &> struct iterator_facade_base : std::iterator<IteratorCategoryT, T, DifferenceTypeT, PointerT, |