libstdc++: Remove unary_function base classes from std::thread tests
authorJonathan Wakely <jwakely@redhat.com>
Mon, 24 May 2021 17:32:22 +0000 (18:32 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 1 Oct 2021 19:36:54 +0000 (20:36 +0100)
commit9b790acc2207d69b4ebc0f4addd34a0aa32ec6cf
tree1f1395b96112eeafb2a81bb49d724f1bafe417de
parente3869a48fc2e5fbb9e8eb7058e5176446479673f
libstdc++: Remove unary_function base classes from std::thread tests

std::thread does not care if a function object is adaptable, so there is
no need to derive from the deprecated std::unary_function class in these
tests.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

* testsuite/30_threads/thread/cons/3.cc: Remove derivation from
std::unary_function.
* testsuite/30_threads/thread/cons/4.cc: Likewise.
* testsuite/30_threads/thread/cons/5.cc: Likewise.
libstdc++-v3/testsuite/30_threads/thread/cons/3.cc
libstdc++-v3/testsuite/30_threads/thread/cons/4.cc
libstdc++-v3/testsuite/30_threads/thread/cons/5.cc