mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Build: fix variable order initialization error
fatal error: field 'Action' will be initialized after field 'Validator' [-Wreorder]
(cherry picked from commit 71e7394b74)
This commit is contained in:
@@ -96,8 +96,8 @@ class MotionMasterDelayedAction
|
||||
|
||||
void Resolve() { if (Validator()) Action(); }
|
||||
|
||||
std::function<bool()> Validator;
|
||||
std::function<void()> Action;
|
||||
std::function<bool()> Validator;
|
||||
uint8 Type;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user