[committed] libstdc++: Avoid -Wunused-parameter warning in testsuite helper
Jonathan Wakely
jwakely@redhat.com
Thu Sep 7 07:11:13 GMT 2023
Tested x86_64-linux. Pushed to trunk.
-- >8 --
libstdc++-v3/ChangeLog:
* testsuite/util/testsuite_iterators.h (is_customization_point_object):
Remove parameter name.
---
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 55045e48d56..d296a2cf18c 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> );
--
2.41.0
More information about the Libstdc++
mailing list