fix brace value initialization for msvc 18

This commit is contained in:
Andre Nguyen 2020-08-20 22:05:55 -04:00 committed by Howard Hinnant
parent 7990eae740
commit 8140d979cd

View File

@ -95,9 +95,9 @@ private:
U& operator=(const pair& x);
} u;
std::chrono::hours h_{};
std::chrono::minutes m_{};
std::chrono::seconds s_{};
std::chrono::hours h_{0};
std::chrono::minutes m_{0};
std::chrono::seconds s_{0};
tz zone_{tz::local};
public:
@ -245,7 +245,7 @@ struct zonelet
sys_seconds until_utc_;
local_seconds until_std_;
local_seconds until_loc_;
std::chrono::minutes initial_save_{};
std::chrono::minutes initial_save_{0};
std::string initial_abbrev_;
std::pair<const Rule*, date::year> first_rule_{nullptr, date::year::min()};
std::pair<const Rule*, date::year> last_rule_{nullptr, date::year::max()};