Skip to content

Commit 6cd6aba

Browse files
authored
DX-2222: Fixed compile errors for UE4.26 (#8)
1 parent e779cb7 commit 6cd6aba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/Immutable/Private/Immutable/ImmutableSubsystem.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void UImmutableSubsystem::Deinitialize()
4242

4343

4444
template <class UserClass>
45-
void UImmutableSubsystem::WhenReady(UserClass* Object, typename FImmutableSubsystemReadyDelegate::FDelegate::TMethodPtr<UserClass> Func)
45+
void UImmutableSubsystem::WhenReady(UserClass* Object, typename FImmutableSubsystemReadyDelegate::FDelegate::TUObjectMethodDelegate<UserClass>::FMethodPtr Func)
4646
{
4747
OnReady.AddUObject(Object, Func);
4848
}

Source/Immutable/Public/Immutable/ImmutableSubsystem.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class IMMUTABLE_API UImmutableSubsystem : public UGameInstanceSubsystem
4141
protected:
4242
// Execute a delegate when the subsystem is ready (i.e.: when the browser is running and the Immutable SDK game bridge has loaded).
4343
template<class UserClass>
44-
void WhenReady(UserClass* Object, typename FImmutableSubsystemReadyDelegate::FDelegate::TMethodPtr<UserClass> Func);
44+
void WhenReady(UserClass* Object, typename FImmutableSubsystemReadyDelegate::FDelegate::TUObjectMethodDelegate<UserClass>::FMethodPtr Func);
4545

4646
private:
4747
UPROPERTY()

0 commit comments

Comments
 (0)