fix brace value initialization for msvc 18

This commit is contained in:
Andre Nguyen authored and Howard Hinnant committed 2020-08-21 17:09:51 -04:00
1 parent 7990eae740
commit 8140d979cd
1 file changed
+4 -4
+4 -4
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()};