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:
ccrs
2019-05-17 01:13:42 +02:00
committed by Shauren
parent 36a1d00444
commit 4f49cef15c

View File

@@ -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;
};