Files
UnrealEngineUWP/Engine/Plugins/Experimental/ControlFlows
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
..