Skip to content

Commit

Permalink
fixed shadow warnings which blocks compilation with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
zompi2 committed Sep 24, 2024
1 parent af855ef commit 3c64004
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file added .vs/slnx.sqlite
Binary file not shown.
4 changes: 2 additions & 2 deletions Source/EnhancedCodeFlow/Public/CodeFlowActions/ECFTimeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ class ENHANCEDCODEFLOW_API UECFTimeline : public UECFActionBase
bool Setup(float InStartValue, float InStopValue, float InTime, TUniqueFunction<void(float, float)>&& InTickFunc, TUniqueFunction<void(float, float)>&& InCallbackFunc, EECFBlendFunc InBlendFunc, float InBlendExp)
{
CallbackFunc_NoStopped = MoveTemp(InCallbackFunc);
return Setup(InStartValue, InStopValue, InTime, MoveTemp(InTickFunc), [this](float Value, float Time, bool bStopped)
return Setup(InStartValue, InStopValue, InTime, MoveTemp(InTickFunc), [this](float FwdValue, float FwdTime, bool bStopped)
{
if (CallbackFunc_NoStopped)
{
CallbackFunc_NoStopped(Value, Time);
CallbackFunc_NoStopped(FwdValue, FwdTime);
}
}, InBlendFunc, InBlendExp);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ class ENHANCEDCODEFLOW_API FECFCoroutineAwaiter

// Helper function for adding coroutine actions to the ECF subsystem.
template<typename T, typename ... Ts>
void AddCoroutineAction(const UObject* InOwner, FECFCoroutineHandle InCoroutineHandle, const FECFActionSettings& Settings, Ts&& ... Args)
void AddCoroutineAction(const UObject* InOwner, FECFCoroutineHandle InCoroutineHandle, const FECFActionSettings& InSettings, Ts&& ... Args)
{
if (UECFSubsystem* ECF = UECFSubsystem::Get(InOwner))
{
ECF->AddCoroutineAction<T>(InOwner, InCoroutineHandle, Settings, Forward<Ts>(Args)...);
ECF->AddCoroutineAction<T>(InOwner, InCoroutineHandle, InSettings, Forward<Ts>(Args)...);
}
}

Expand Down

0 comments on commit 3c64004

Please sign in to comment.