From 9c616d4a617134c77a5f3a9c422533abc2445b31 Mon Sep 17 00:00:00 2001 From: klechenov Date: Mon, 6 Nov 2023 16:50:11 +0100 Subject: [PATCH] Fixed C4596 compiler warning --- Plugins/Cog/Source/CogImgui/Public/CogImguiWidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Cog/Source/CogImgui/Public/CogImguiWidget.h b/Plugins/Cog/Source/CogImgui/Public/CogImguiWidget.h index 498cb87..57fafe4 100644 --- a/Plugins/Cog/Source/CogImgui/Public/CogImguiWidget.h +++ b/Plugins/Cog/Source/CogImgui/Public/CogImguiWidget.h @@ -55,7 +55,7 @@ public: virtual int32 OnPaint(const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyClippingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& WidgetStyle, bool bParentEnabled) const override; virtual FVector2D ComputeDesiredSize(float Scale) const override; - ULocalPlayer* SCogImguiWidget::GetLocalPlayer() const; + ULocalPlayer* GetLocalPlayer() const; float GetDpiScale() const { return DpiScale; }