From: Jonathan Wakely Date: Thu, 10 Sep 2020 17:57:05 +0000 (+0100) Subject: libstdc++: Fix -Wunused-local-typedefs warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=866c53cb2e88e172476185327723df9197c34ae7;p=gcc.git libstdc++: Fix -Wunused-local-typedefs warning libstdc++-v3/ChangeLog: * include/bits/ranges_algobase.h (__equal_fn): Remove unused typedef. --- diff --git a/libstdc++-v3/include/bits/ranges_algobase.h b/libstdc++-v3/include/bits/ranges_algobase.h index 3bdc7cc471b..2adff643ac2 100644 --- a/libstdc++-v3/include/bits/ranges_algobase.h +++ b/libstdc++-v3/include/bits/ranges_algobase.h @@ -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