From 36332d2463cdb98171878ab8c836a875fe3493cc Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 13 Jun 2025 16:36:03 +0200 Subject: Core/Misc: Remove a bunch of code from headers --- src/server/game/Spells/SpellScript.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/server/game/Spells/SpellScript.h') 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 + class HookList : public ::HookList + { + public: + HookList& operator+=(T&& t); + }; + class TC_GAME_API EffectHook { public: -- cgit v1.2.3