Build: fix variable order initialization error

fatal error: field 'Action' will be initialized after field 'Validator' [-Wreorder]

(cherry picked from commit 71e7394b74bc36467f478986c0bd179e18e04fb8)
This commit is contained in:
ccrs
2021-12-05 18:40:20 +01:00
committed by Shauren
parent 36a1d00444
commit 4f49cef15c
+1 -1
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;
};