Files
UnrealEngineUWP/Engine/Source/Runtime
jamie dale 8e34ecadf6 Fixed ControlFlow TSharedFromThis deduction for derived types
struct Foo : public TSharedFromThis<Foo>
{
    // ...
};

struct Bar : public Foo
{
    // ...

    void Execute()
    {
        FControlFlow& ControlFlow = ...;
        ControlFlow.QueueStep(this, &Bar::DoStep);
    }

    void DoStep()
    {
    }
};

The QueueStep deduction would fail as it expects the type to be directly derived as TSharedFromThis<Bar> rather than indirectly via TSharedFromThis<Foo>

#preflight 636a7040dc30a4ce96a157a7
[FYI] Geoffrey.Wong
#rb Steve.Robb
#rnx

[CL 23039132 by jamie dale in ue5-main branch]
2022-11-08 16:02:15 -05:00
..
2022-10-27 13:57:26 -04:00
2022-10-26 16:14:19 -04:00
2022-10-19 14:38:31 -04:00
2022-11-08 15:59:56 -05:00
2022-11-04 15:03:42 -04:00
2022-11-08 10:39:35 -05:00
2022-11-08 06:18:04 -05:00
2022-09-26 13:18:59 -04:00
2022-11-07 15:17:53 -05:00
2022-11-08 13:00:51 -05:00
2022-11-02 06:20:54 -04:00
2022-11-08 14:19:53 -05:00
2022-10-28 15:39:05 -04:00
2022-11-08 12:00:52 -05:00
2022-10-28 05:50:46 -04:00