mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +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
|
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;
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue