summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
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&)
{