Răsfoiți Sursa

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

Alexander Wilms 1 an în urmă
părinte
comite
24b5f3f552
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      lib/mapObjects/CQuest.h

+ 1 - 1
lib/mapObjects/CQuest.h

@@ -98,7 +98,7 @@ public:
 class DLL_LINKAGE IQuestObject
 class DLL_LINKAGE IQuestObject
 {
 {
 public:
 public:
-	auto * quest = new CQuest();
+	CQuest * quest = new CQuest();
 
 
 	///Information about quest should remain accessible even if IQuestObject removed from map
 	///Information about quest should remain accessible even if IQuestObject removed from map
 	///All CQuest objects are freed in CMap destructor
 	///All CQuest objects are freed in CMap destructor