public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-3767] libstdc++: Avoid -Wunused-parameter warning in testsuite helper
@ 2023-09-07  7:11 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-09-07  7:11 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:833733702a7037b175f15daee85df1d64140ec05

commit r14-3767-g833733702a7037b175f15daee85df1d64140ec05
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Sep 5 11:24:09 2023 +0100

    libstdc++: Avoid -Wunused-parameter warning in testsuite helper
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/util/testsuite_iterators.h (is_customization_point_object):
            Remove parameter name.

Diff:
---
 libstdc++-v3/testsuite/util/testsuite_iterators.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/testsuite/util/testsuite_iterators.h b/libstdc++-v3/testsuite/util/testsuite_iterators.h
index 55045e48d560..d296a2cf18c9 100644
--- a/libstdc++-v3/testsuite/util/testsuite_iterators.h
+++ b/libstdc++-v3/testsuite/util/testsuite_iterators.h
@@ -916,7 +916,7 @@ namespace __gnu_test
   // Test for basic properties of C++20 16.3.3.6 [customization.point.object].
   template<typename T>
     constexpr bool
-    is_customization_point_object(T& obj) noexcept
+    is_customization_point_object(T&) noexcept
     {
       // A [CPO] is a function object with a literal class type.
       static_assert( std::is_class_v<T> || std::is_union_v<T> );

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

only message in thread, other threads:[~2023-09-07  7:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-07  7:11 [gcc r14-3767] libstdc++: Avoid -Wunused-parameter warning in testsuite helper 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).