浏览代码

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

Alexander Wilms 1 年之前
父节点
当前提交
24b5f3f552
共有 1 个文件被更改,包括 1 次插入1 次删除
  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