mirror of
https://github.com/nlohmann/json.git
synced 2026-09-10 18:27:59 +00:00
loc was only ever read twice, immediately, to seed thousands_sep and decimal_point; nothing else in the class used it. A local in the constructor body serves the same purpose without keeping the pointer around for the serializer's lifetime. Signed-off-by: Niels Lohmann <mail@nlohmann.me>