DRTVWR-559: Fix broken workqueue_test.cpp.
Apparently Visual Studio and Xcode disagree on the intended lifespan of a certain temporary expression. Capturing it in a named variable works.meow-7.2.2
parent
0c2e7a8eb7
commit
424d3ef83c
|
|
@ -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&)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue