1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Fix CQuest.h:101:2: error: 'auto' not allowed in non-static class member

This commit is contained in:
Alexander Wilms
2024-01-16 21:46:25 +00:00
parent 1b85abb508
commit 24b5f3f552

View File

@@ -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