mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
I totally have no idea when std::count returns a negative value, but the result type of `std::count` is a differnce_type. So when it is added with size_t value, implicit sign conversion happens. This changes check this kind of (almost trivial but required) checking.
17 KiB
17 KiB