Selaa lähdekoodia

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

Alexander Wilms 1 vuosi sitten
vanhempi
sitoutus
24b5f3f552
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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