Use steady_clock to implement condition_variable::wait_for with predicate
commit67e757f96934b2c370cb92624edc0167ad4566a9
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Sep 2018 14:59:27 +0000 (25 14:59 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Sep 2018 14:59:27 +0000 (25 14:59 +0000)
tree1d265f68cd21caedae6be5605e63d2b06c8fd815
parentbc35ec6d4ca5e90065942577a27af6c6088187fa
Use steady_clock to implement condition_variable::wait_for with predicate

In r263225 (d2e378182a12d68fe5caeffae681252662a2fe7b), I fixed
condition_variable::wait_for to use std::chrono::steady_clock for the wait.
Unfortunately, I failed to spot that the same fix is required for the
wait_for variant that takes a predicate too.

2018-09-25  Mike Crowe  <mac@mcrowe.com>

* include/std/condition_variable (condition_variable::wait_for): Use
steady clock in overload that uses a predicate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264575 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/condition_variable