We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97ed50e commit 38a35a7Copy full SHA for 38a35a7
Source/Immutable/Private/Immutable/ImmutablePassport.cpp
@@ -51,15 +51,15 @@ void UImmutablePassport::Initialize(const FImtblPassportResponseDelegate& Respon
51
{
52
check(JSConnector.IsValid());
53
54
- auto Settings = GetDefault<UImmutableSettings>();
+ const UImmutableSettings* Settings = GetDefault<UImmutableSettings>();
55
56
- if (Settings)
+ if (!Settings)
57
58
ResponseDelegate.ExecuteIfBound(FImmutablePassportResult{false, "Failed to find Immutable Settings"});
59
-
+
60
return;
61
}
62
63
UApplicationConfig* ApplicationConfig = Settings->DefaultApplicationConfig.GetDefaultObject();
64
65
if (!ApplicationConfig)
0 commit comments