mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[10447] Certain compilers refuse to erase const_iterator...
This commit is contained in:
parent
425375687c
commit
ddc42c5491
2 changed files with 2 additions and 2 deletions
|
|
@ -3950,7 +3950,7 @@ bool Unit::AddSpellAuraHolder(SpellAuraHolder *holder)
|
|||
if (Unit* caster = holder->GetCaster()) // caster not in world
|
||||
{
|
||||
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;
|
||||
ObjectGuid itr_targetGuid = itr->second;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue