[llvm] r345773 - Remove unused internal template parameter.
Richard Smith via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 31 13:38:41 PDT 2018
Author: rsmith
Date: Wed Oct 31 13:38:41 2018
New Revision: 345773
URL: http://llvm.org/viewvc/llvm-project?rev=345773&view=rev
Log:
Remove unused internal template parameter.
Modified:
llvm/trunk/include/llvm/ADT/iterator.h
Modified: llvm/trunk/include/llvm/ADT/iterator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/iterator.h?rev=345773&r1=345772&r2=345773&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/iterator.h (original)
+++ llvm/trunk/include/llvm/ADT/iterator.h Wed Oct 31 13:38:41 2018
@@ -202,9 +202,7 @@ template <
typename ReferenceT = typename std::conditional<
std::is_same<T, typename std::iterator_traits<
WrappedIteratorT>::value_type>::value,
- typename std::iterator_traits<WrappedIteratorT>::reference, T &>::type,
- // Don't provide these, they are mostly to act as aliases below.
- typename WrappedTraitsT = std::iterator_traits<WrappedIteratorT>>
+ typename std::iterator_traits<WrappedIteratorT>::reference, T &>::type>
class iterator_adaptor_base
: public iterator_facade_base<DerivedT, IteratorCategoryT, T,
DifferenceTypeT, PointerT, ReferenceT> {
More information about the llvm-commits
mailing list