mirror of
https://github.com/nlohmann/json.git
synced 2026-10-22 14:08:13 +00:00
GCC's -Weffc++ asks for the three buffers in the member initialization list, which would zero them again. They are now of a type with an empty user-provided constructor (as the json_view builder's frame stack), so they are listed there and stay uninitialized. The 8-to-31-byte branch of the short-string writer no longer spans an #if with a dangling else, which cpplint read as an else body without braces. dump() instructions (Apple clang, twitter/citm/canada, compact and indented) are unchanged within noise (-0.3 % to +0.6 %). Signed-off-by: Niels Lohmann <mail@nlohmann.me>