mirror of
https://github.com/nlohmann/json.git
synced 2026-11-02 10:55:35 +00:00
For a one-byte decimal point, the std::copy() call had its destination at the start of its source range, which std::copy() does not allow. The bytes are now moved only when the decimal point is longer than the '.' it is replaced with. Also name the right place of get_decimal_point(). Signed-off-by: Niels Lohmann <mail@nlohmann.me>