summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2022-05-10 12:18:27 -0400
committerNat Goodspeed <nat@lindenlab.com>2022-05-10 12:18:27 -0400
commit72ddfbd76ef3152c86e9b0b4331919d15d6a3d2a (patch)
tree897c94a3ab3e4d5f4fe0e4d2818edbc56f193b5b /indra/llcommon
parentb6841d75c2f259c84d5ab6b012bd2ae37d985451 (diff)
SL-17219: WorkQueue::tryPost() must call ThreadSafeSchedule::tryPush().
We inadvertently changed tryPost() to call ThreadSafeSchedule::tryPost(), which doesn't exist.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/workqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/workqueue.h b/indra/llcommon/workqueue.h
index 46f7363830..784327f929 100644
--- a/indra/llcommon/workqueue.h
+++ b/indra/llcommon/workqueue.h
@@ -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 --------------------------*/