libstdc++: Fix -Wunused-local-typedefs warning
authorJonathan Wakely <jwakely@redhat.com>
Thu, 10 Sep 2020 17:57:05 +0000 (18:57 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 10 Sep 2020 17:57:05 +0000 (18:57 +0100)
libstdc++-v3/ChangeLog:

* include/bits/ranges_algobase.h (__equal_fn): Remove unused
typedef.

libstdc++-v3/include/bits/ranges_algobase.h

index 3bdc7cc471b665bcb05c42744db002fece7cae00..2adff643ac2bc481634ea4b2170aeac31707ddec 100644 (file)
@@ -105,7 +105,6 @@ namespace ranges
              return false;
 
            using _ValueType1 = iter_value_t<_Iter1>;
-           using _ValueType2 = iter_value_t<_Iter2>;
            constexpr bool __use_memcmp
              = ((is_integral_v<_ValueType1> || is_pointer_v<_ValueType1>)
                 && __memcmpable<_Iter1, _Iter2>::__value