Message ID | 20200416074548.GA1719414@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] libstdc++: Fix -Wunused-parameter warning in test | expand |
diff --git a/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc b/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc index b3bb955db7c..5bf20cf262c 100644 --- a/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc +++ b/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc @@ -197,7 +197,7 @@ test06() void do_deallocate(void* p, std::size_t bytes, std::size_t align) { std::pmr::new_delete_resource()->deallocate(p, bytes, align); } - bool do_is_equal(const memory_resource& r) const noexcept + bool do_is_equal(const memory_resource&) const noexcept { return false; } };