Skip to content

Commit

Permalink
fix: compile errors for 5.1 and greater (#3570)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImmutableJeffrey committed Feb 7, 2025
1 parent 25ebb4e commit 5df6090
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ void UImmutableMarketplaceOnRampWidget::HandleOnUrlChanged(const FText& Text)
}

#if (ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 1)
void UOnRampWidget::HandleOnConsoleMessage(const FString& Message, const FString& Source, int32 Line, EWebBrowserConsoleLogSeverity Severity)
void UImmutableMarketplaceOnRampWidget::HandleOnConsoleMessage(const FString& Message, const FString& Source, int32 Line, EWebBrowserConsoleLogSeverity Severity)
{
UE_LOG(LogImmutableOnRampWidget, Log, TEXT("Web Browser console message: %s, Source: %s, Line: %d"), *Message, *Source, Line);
}

bool UOnRampWidget::HandleOnBeforePopup(FString URL, FString Frame)
bool UImmutableMarketplaceOnRampWidget::HandleOnBeforePopup(FString URL, FString Frame)
{
return false;
}
Expand Down

0 comments on commit 5df6090

Please sign in to comment.