[10447] Certain compilers refuse to erase const_iterator...

This commit is contained in:
Lynx3d 2010-09-05 11:25:24 +02:00
parent 425375687c
commit ddc42c5491
2 changed files with 2 additions and 2 deletions

View file

@ -3950,7 +3950,7 @@ bool Unit::AddSpellAuraHolder(SpellAuraHolder *holder)
if (Unit* caster = holder->GetCaster()) // caster not in world if (Unit* caster = holder->GetCaster()) // caster not in world
{ {
SingleCastSpellTargetMap& scTargets = caster->GetSingleCastSpellTargets(); SingleCastSpellTargetMap& scTargets = caster->GetSingleCastSpellTargets();
for(SingleCastSpellTargetMap::const_iterator itr = scTargets.begin(); itr != scTargets.end();) for(SingleCastSpellTargetMap::iterator itr = scTargets.begin(); itr != scTargets.end();)
{ {
SpellEntry const* itr_spellEntry = itr->first; SpellEntry const* itr_spellEntry = itr->first;
ObjectGuid itr_targetGuid = itr->second; ObjectGuid itr_targetGuid = itr->second;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "10446" #define REVISION_NR "10447"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__