From 9ee47e59995f858ec531b3ee467f131594e4ba1f Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 13 Apr 2020 18:38:06 +0200 Subject: Using Super. --- src/UI/InventoryWindow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/UI/InventoryWindow.h') diff --git a/src/UI/InventoryWindow.h b/src/UI/InventoryWindow.h index c02dcfbbb..108f58fa0 100644 --- a/src/UI/InventoryWindow.h +++ b/src/UI/InventoryWindow.h @@ -15,12 +15,13 @@ -class cInventoryWindow : +class cInventoryWindow: public cWindow { - typedef cWindow super; + using Super = cWindow; public: + cInventoryWindow(cPlayer & a_Player); virtual void DistributeStack(cItem & a_ItemStack, int a_Slot, cPlayer & a_Player, cSlotArea * a_ClickedArea, bool a_ShouldApply) override; -- cgit v1.2.3