If I understand you correctly
SpawnSpecialManager.h
// Helper functions that 'translate' typename into std::map*
template <typename T>
IdFlagGUIDMap* GetIdFlagGUIDMap(bool byGUID = false) { return NULL; }
- template <>
- IdFlagGUIDMap* GetIdFlagGUIDMap<Creature>(bool byGUID) { return byGUID ? &m_CreatureGUIDFlagMap : &m_CreatureIDFlagMap; }
- template <>
- IdFlagGUIDMap* GetIdFlagGUIDMap<GameObject>(bool byGUID) { return byGUID ? &m_GoGUIDFlagMap : NULL; }
SpawnSpecialManager.cpp
// Instantiate template for helper function
template void SpawnSpecialHolder::AddToHolder<Creature>(uint32 DBGuid, uint32 Entry, uint64 GUID, uint16 MapId);
template void SpawnSpecialHolder::AddToHolder<GameObject>(uint32 DBGuid, uint32 Entry, uint64 GUID, uint16 MapId);
+template void sSpawnSpecialGroup::AddToGroup<Creature>(uint32 DBGuid, uint32 Entry, uint64 GUID, uint16 flag);
+template void sSpawnSpecialGroup::AddToGroup<GameObject>(uint32 DBGuid, uint32 Entry, uint64 GUID, uint16 flag);
then it's work!
if SpawnSpecialManager.h not edit error again..