[committed] libstdc++: Fix -Wunused-parameter warning in test
Jonathan Wakely
jwakely@redhat.com
Thu Apr 16 07:45:48 GMT 2020
* testsuite/20_util/unsynchronized_pool_resource/allocate.cc: Remove
name of unused parameter.
Not an important change, just a tiny clean-up.
Tested x86_64-linux and committed to master.
-------------- next part --------------
commit c8d88bf26e4c4c0eeddbf6a9dc184f28d4ef85e4
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Apr 16 08:44:10 2020 +0100
libstdc++: Fix -Wunused-parameter warning in test
* testsuite/20_util/unsynchronized_pool_resource/allocate.cc: Remove
name of unused parameter.
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; }
};
More information about the Libstdc++
mailing list