From 24b5f3f552c7418d469ca209503f8bab017fe85b Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Tue, 16 Jan 2024 21:46:25 +0000 Subject: [PATCH] Fix CQuest.h:101:2: error: 'auto' not allowed in non-static class member --- lib/mapObjects/CQuest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mapObjects/CQuest.h b/lib/mapObjects/CQuest.h index f489d50a8..cb3046a22 100644 --- a/lib/mapObjects/CQuest.h +++ b/lib/mapObjects/CQuest.h @@ -98,7 +98,7 @@ public: class DLL_LINKAGE IQuestObject { public: - auto * quest = new CQuest(); + CQuest * quest = new CQuest(); ///Information about quest should remain accessible even if IQuestObject removed from map ///All CQuest objects are freed in CMap destructor