libstdc++: Fix -Wunused-parameter warning in test
authorJonathan Wakely <jwakely@redhat.com>
Thu, 16 Apr 2020 07:44:10 +0000 (08:44 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 16 Apr 2020 07:44:10 +0000 (08:44 +0100)
* testsuite/20_util/unsynchronized_pool_resource/allocate.cc: Remove
name of unused parameter.

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc

index f9e4c2d87dde708343662ade5f9a62fc2f1e1bf1..cd3bbca35baeafaad3e655ada8ebdd18dfe9f0b2 100644 (file)
@@ -1,3 +1,8 @@
+2020-04-16  Jonathan Wakely  <jwakely@redhat.com>
+
+       * testsuite/20_util/unsynchronized_pool_resource/allocate.cc: Remove
+       name of unused parameter.
+
 2020-04-15  Jonathan Wakely  <jwakely@redhat.com>
 
        * include/bits/fs_dir.h (file_status): Define operator== for C++20.
index b3bb955db7ce3c048301001684b3cb34239cde2c..5bf20cf262c04aa9cd83e4a09cff6fc4810c3bcb 100644 (file)
@@ -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; }
   };