aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-09-05 11:24:09 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-09-07 08:02:49 +0100
commit833733702a7037b175f15daee85df1d64140ec05 (patch)
treed60bf8ebd88be0c4479bbf250eb908c26225aecd
parent10d59b802a7db9ae908291fb20627c1493cfa26c (diff)
downloadgcc-833733702a7037b175f15daee85df1d64140ec05.zip
gcc-833733702a7037b175f15daee85df1d64140ec05.tar.gz
gcc-833733702a7037b175f15daee85df1d64140ec05.tar.bz2
libstdc++: Avoid -Wunused-parameter warning in testsuite helper
libstdc++-v3/ChangeLog: * testsuite/util/testsuite_iterators.h (is_customization_point_object): Remove parameter name.
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_iterators.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/util/testsuite_iterators.h b/libstdc++-v3/testsuite/util/testsuite_iterators.h
index 55045e4..d296a2c 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> );