SL-17219: WorkQueue::tryPost() must call ThreadSafeSchedule::tryPush().

We inadvertently changed tryPost() to call ThreadSafeSchedule::tryPost(),
which doesn't exist.
master
Nat Goodspeed 2022-05-10 12:18:27 -04:00
parent b6841d75c2
commit 72ddfbd76e
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ namespace LL
template <typename CALLABLE>
bool tryPost(CALLABLE&& callable)
{
return mQueue.tryPost(TimePoint::clock::now(), std::move(callable));
return mQueue.tryPush(TimePoint::clock::now(), std::move(callable));
}
/*------------------------- handshake API --------------------------*/