public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-9564] libstdc++: Fix -Wunused-local-typedefs warning
@ 2021-03-29 20:00 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-03-29 20:00 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:84ea975e8d3f4404e168f6851ca625517b883098

commit r10-9564-g84ea975e8d3f4404e168f6851ca625517b883098
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Sep 10 18:57:05 2020 +0100

    libstdc++: Fix -Wunused-local-typedefs warning
    
    libstdc++-v3/ChangeLog:
    
            * include/bits/ranges_algobase.h (__equal_fn): Remove unused
            typedef.
    
    (cherry picked from commit 866c53cb2e88e172476185327723df9197c34ae7)

Diff:
---
 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 618bc7d1006..9c6f1925763 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-29 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29 20:00 [gcc r10-9564] libstdc++: Fix -Wunused-local-typedefs warning Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).