Explorar o código

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

Alexander Wilms hai 1 ano
pai
achega
24b5f3f552
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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