From: Jonathan Wakely Date: Tue, 5 Sep 2023 10:24:09 +0000 (+0100) Subject: libstdc++: Avoid -Wunused-parameter warning in testsuite helper X-Git-Tag: basepoints/gcc-15~6372 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=833733702a7037b175f15daee85df1d64140ec05;p=thirdparty%2Fgcc.git libstdc++: Avoid -Wunused-parameter warning in testsuite helper libstdc++-v3/ChangeLog: * testsuite/util/testsuite_iterators.h (is_customization_point_object): Remove parameter name. --- 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 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 || std::is_union_v );