最初由 尼普拉斯沃尔特 发表 in src/celutil/resmanager.h "just" add the keyword 'typename' in line 108 :
loadedResources.insert(typename NameMap::value_type(resources[h].resolvedName, resources[h].resource));
And you need to do the same at line 75 :
handles.insert(typename ResourceHandleMap::value_type(info, h));
Post by 尼普拉斯沃尔特
in src/celutil/resmanager.h "just" add the keyword 'typename' in line 108 :
loadedResources.insert(typename NameMap::value_type(resources[h].resolvedName, resources[h].resource));
And you need to do the same at line 75 :
handles.insert(typename ResourceHandleMap::value_type(info, h));