Skip to content

Commit 9dc6e6a

Browse files
authored
Removed flag from lambda init capture
1 parent 2b897ff commit 9dc6e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/CheckAppInstance/Private/CheckAppInstanceBPLibrary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void UCheckAppInstanceBPLibrary::CheckAnotherAppInstance(bool bIsEnabled)
2525
return;
2626
}
2727

28-
FCoreDelegates::OnAllModuleLoadingPhasesComplete.AddLambda([bIsEnabled]()
28+
FCoreDelegates::OnAllModuleLoadingPhasesComplete.AddLambda([]()
2929
{
3030
// Only one instance of the game can be initialized!
3131
const UGeneralProjectSettings& ProjectSettings = *GetDefault<UGeneralProjectSettings>();

0 commit comments

Comments
 (0)