diff options
author | StormBytePP <stormbyte@gmail.com> | 2015-08-22 16:52:12 +0200 |
---|---|---|
committer | StormBytePP <stormbyte@gmail.com> | 2015-08-22 17:15:44 +0200 |
commit | 595bb841a9f9b71bae0fcbcdfb0eb0c38143c7fc (patch) | |
tree | 5d3272d89dfdb3a18a3ffdb4fbd92894a418ae23 | |
parent | 38fb7042973155171628b1249f48b4611678a664 (diff) |
Core/Spells: Fixed gcc-4.7.x compile
-rw-r--r-- | src/server/game/Spells/Spell.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Spells/Spell.h b/src/server/game/Spells/Spell.h index 183f4039711..fe4b193c07d 100644 --- a/src/server/game/Spells/Spell.h +++ b/src/server/game/Spells/Spell.h @@ -690,6 +690,8 @@ class Spell // Targets store structures and data struct TargetInfo { + // a bug in gcc-4.7 needs a destructor to call move operator instead of copy operator in std::vector remove + ~TargetInfo() { } ObjectGuid targetGUID; uint64 timeDelay; SpellMissInfo missCondition:8; |