mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
std::chrono::seconds -= std::chrono::milliseconds cannot be done bc it represents the duration as integer value and milliseconds are less than seconds. it causes compilation error when we pass a duration to toml::local_time. to avoid this, we need to type-cast the values to smaller duration, like sec -> msec
16 KiB
16 KiB