- LimitsType() { std::memset(this, 0, sizeof(LimitsType)); }
- bool use_time_management() const { return !(mate | movetime | depth | nodes | infinite); }
+ LimitsType() { // Init explicitly due to broken value-initialization of non POD in MSVC
+ nodes = time[WHITE] = time[BLACK] = inc[WHITE] = inc[BLACK] = npmsec = movestogo =
+ depth = movetime = mate = infinite = ponder = 0;
+ }
+
+ bool use_time_management() const {
+ return !(mate | movetime | depth | nodes | infinite);
+ }