Przeglądaj źródła

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

Alexander Wilms 1 rok temu
rodzic
commit
24b5f3f552
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/mapObjects/CQuest.h

+ 1 - 1
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