From 866c53cb2e88e172476185327723df9197c34ae7 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 10 Sep 2020 18:57:05 +0100 Subject: [PATCH] libstdc++: Fix -Wunused-local-typedefs warning libstdc++-v3/ChangeLog: * include/bits/ranges_algobase.h (__equal_fn): Remove unused typedef. --- libstdc++-v3/include/bits/ranges_algobase.h | 1 - 1 file changed, 1 deletion(-) 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 -- 2.30.2