Avoid -Wunused-parameter warnings from testsuite utility
authorJonathan Wakely <jwakely@redhat.com>
Wed, 29 May 2019 14:45:50 +0000 (15:45 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 29 May 2019 14:45:50 +0000 (15:45 +0100)
* testsuite/util/testsuite_api.h: Remove names of unused parameters.

From-SVN: r271741

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/util/testsuite_api.h

index a01b54e..b209460 100644 (file)
@@ -1,5 +1,7 @@
 2019-05-29  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/util/testsuite_api.h: Remove names of unused parameters.
+
        PR libstdc++/85494 use rdseed and rand_s in std::random_device
        * acinclude.m4 (GLIBCXX_CHECK_X86_RDSEED): Define macro to check if
        the assembler supports rdseed.
index 4c5388a..793aa40 100644 (file)
@@ -113,18 +113,15 @@ namespace __gnu_test
   // For 26 numeric algorithms requirements, need addable,
   // subtractable, multiplicable.
   inline NonDefaultConstructible
-  operator+(const NonDefaultConstructible& lhs,
-           const NonDefaultConstructible& rhs)
+  operator+(const NonDefaultConstructible&, const NonDefaultConstructible&)
   { return NonDefaultConstructible(1); }
 
   inline NonDefaultConstructible
-  operator-(const NonDefaultConstructible& lhs,
-           const NonDefaultConstructible& rhs)
+  operator-(const NonDefaultConstructible&, const NonDefaultConstructible&)
   { return NonDefaultConstructible(1); }
 
   inline NonDefaultConstructible
-  operator*(const NonDefaultConstructible& lhs,
-           const NonDefaultConstructible& rhs)
+  operator*(const NonDefaultConstructible&, const NonDefaultConstructible&)
   { return NonDefaultConstructible(1); }
 
   // Like unary_function, but takes no argument. (ie, void).