libstdc++: Fix custom clock in test
authorJonathan Wakely <jwakely@redhat.com>
Thu, 22 Oct 2020 19:28:10 +0000 (20:28 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 22 Oct 2020 22:14:13 +0000 (23:14 +0100)
commit0a74a0e1a2d4668613bd5913a600ab644402cefd
tree9920b648c438ea5d473c763596be6dc7db78efab
parent3307a810d9401d3cefbde979d7a15691c5780600
libstdc++: Fix custom clock in test

This test fails in C++20 mode because std::is_clock is false for the
test clock, because it doesn't define a duration member.

libstdc++-v3/ChangeLog:

* testsuite/30_threads/condition_variable/members/68519.cc:
Define recent_epoch_float_clock::duration to meet the Cpp17Clock
requirements.
libstdc++-v3/testsuite/30_threads/condition_variable/members/68519.cc