aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-06-13 16:36:03 +0200
committerShauren <shauren.trinity@gmail.com>2025-06-13 16:36:03 +0200
commit36332d2463cdb98171878ab8c836a875fe3493cc (patch)
tree1d48b25f397963cbaa6ed08235d83f030f57de0a /src/server/game/Spells/SpellScript.h
parenta4206da069ea55d96c6f4e12fff157f22f01a594 (diff)
Core/Misc: Remove a bunch of code from headers
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rw-r--r--src/server/game/Spells/SpellScript.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h
index 22b54191244..5857d63fb08 100644
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -89,6 +89,14 @@ public:
protected:
virtual bool _Validate(SpellInfo const* entry);
+ // compile barrier to avoid instantiating operator+= in every script file
+ template <typename T>
+ class HookList : public ::HookList<T>
+ {
+ public:
+ HookList& operator+=(T&& t);
+ };
+
class TC_GAME_API EffectHook
{
public: