Commit 65539b1e by Jonathan Wakely Committed by Jonathan Wakely

Avoid -Wunused-parameter warnings from testsuite utility

	* testsuite/util/testsuite_api.h: Remove names of unused parameters.

From-SVN: r271741
parent b0c0d878
2019-05-29 Jonathan Wakely <jwakely@redhat.com> 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 PR libstdc++/85494 use rdseed and rand_s in std::random_device
* acinclude.m4 (GLIBCXX_CHECK_X86_RDSEED): Define macro to check if * acinclude.m4 (GLIBCXX_CHECK_X86_RDSEED): Define macro to check if
the assembler supports rdseed. the assembler supports rdseed.
......
...@@ -113,18 +113,15 @@ namespace __gnu_test ...@@ -113,18 +113,15 @@ namespace __gnu_test
// For 26 numeric algorithms requirements, need addable, // For 26 numeric algorithms requirements, need addable,
// subtractable, multiplicable. // subtractable, multiplicable.
inline NonDefaultConstructible inline NonDefaultConstructible
operator+(const NonDefaultConstructible& lhs, operator+(const NonDefaultConstructible&, const NonDefaultConstructible&)
const NonDefaultConstructible& rhs)
{ return NonDefaultConstructible(1); } { return NonDefaultConstructible(1); }
inline NonDefaultConstructible inline NonDefaultConstructible
operator-(const NonDefaultConstructible& lhs, operator-(const NonDefaultConstructible&, const NonDefaultConstructible&)
const NonDefaultConstructible& rhs)
{ return NonDefaultConstructible(1); } { return NonDefaultConstructible(1); }
inline NonDefaultConstructible inline NonDefaultConstructible
operator*(const NonDefaultConstructible& lhs, operator*(const NonDefaultConstructible&, const NonDefaultConstructible&)
const NonDefaultConstructible& rhs)
{ return NonDefaultConstructible(1); } { return NonDefaultConstructible(1); }
// Like unary_function, but takes no argument. (ie, void). // Like unary_function, but takes no argument. (ie, void).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment