summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-12-14 11:00:51 -0600
committerDave Parks <davep@lindenlab.com>2022-12-14 11:00:51 -0600
commitad08d20c4c0f8ef07915aceff70934b1d05cd2e1 (patch)
treea6c984e521293d6ddb57e784f6012ea8bd9259d2 /indra
parente6b5481cad3f81f18ff04ff6af86bd7ad5b9c5da (diff)
parentd4822f10142887daa9ef2d5575a2c2e1bb24b389 (diff)
Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/workqueue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/workqueue.h b/indra/llcommon/workqueue.h
index eea8886a7a..5461ce6c23 100644
--- a/indra/llcommon/workqueue.h
+++ b/indra/llcommon/workqueue.h
@@ -419,8 +419,8 @@ namespace LL
// moved-from.
try
{
- std::dynamic_pointer_cast<WorkSchedule>(mTarget.lock())->
- post(std::move(*this), mStart);
+ auto target{ std::dynamic_pointer_cast<WorkSchedule>(mTarget.lock()) };
+ target->post(std::move(*this), mStart);
}
catch (const Closed&)
{