And Here is The Source Code File >>:
Line 47 should be =
not ==
. It’s relying on implicit coversions.
if (AThing* Thing = Cast<AThing>(OtherThing))
{
}
Is assigning Thing
and then checking if Thing
is nullptr
i.e. if the cast was successful.
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.