From 93573075afe885618ea15831e72d44bdacd65bfb Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 1 Sep 2020 14:35:47 +0300 Subject: [PATCH] Panel: fix warning --- include/VGUI_Panel.h | 2 +- include/VGUI_String.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/VGUI_Panel.h b/include/VGUI_Panel.h index 16841ae..69a71e5 100644 --- a/include/VGUI_Panel.h +++ b/include/VGUI_Panel.h @@ -218,7 +218,7 @@ class VGUIAPI Panel bool _paintBorderEnabled; bool _paintBackgroundEnabled; bool _paintEnabled; -friend class Panel; +// friend class Panel; friend class App; friend class SurfaceBase; friend class Image; diff --git a/include/VGUI_String.h b/include/VGUI_String.h index b359984..555a3d4 100644 --- a/include/VGUI_String.h +++ b/include/VGUI_String.h @@ -17,7 +17,7 @@ namespace vgui class VGUIAPI String { -friend class String; +// friend class String; private: