]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Avoid -Wunused-parameter warning in testsuite helper
authorJonathan Wakely <jwakely@redhat.com>
Tue, 5 Sep 2023 10:24:09 +0000 (11:24 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 7 Sep 2023 07:02:49 +0000 (08:02 +0100)
libstdc++-v3/ChangeLog:

* testsuite/util/testsuite_iterators.h (is_customization_point_object):
Remove parameter name.

libstdc++-v3/testsuite/util/testsuite_iterators.h

index 55045e48d560b61556ad42ffe98ed0b85b84957d..d296a2cf18c97ca79d2822dc3d9e1c16444945a7 100644 (file)
@@ -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> );