libstdc++: Avoid -Wunused-parameter warning in testsuite helper
libstdc++-v3/ChangeLog: * testsuite/util/testsuite_iterators.h (is_customization_point_object): Remove parameter name.
This commit is contained in:
parent
10d59b802a
commit
833733702a
1 changed files with 1 additions and 1 deletions
|
@ -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> );
|
||||
|
|
Loading…
Add table
Reference in a new issue