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:
@@ -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
|
||||
|
Reference in New Issue
Block a user