Page MenuHomeSolus

Update nlohmann-json to 3.10.3

Authored by aleksvor on Fri, Oct 8, 9:08 PM.




  • Bug fixes:
    • Fix bug in the update() function when used with extended diagnostics.
    • Fix bug when inserting into arrays when using extended diagnostics.
  • Improvements:
    • Binary formats: custom allocators are now supported when writing binary formats (e.g., CBOR, MessagePack) into a std::vector.
    • User-defined type support: allow conversion from types that do not define an explicit iterator type, but have a begin() and end() function.

Full changelog here.

Test Plan

Rebuilt openrct2 against this version.

Diff Detail

R5079 nlohmann-json
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

aleksvor created this revision.Fri, Oct 8, 9:08 PM
aleksvor requested review of this revision.Fri, Oct 8, 9:08 PM
JoshStrobl accepted this revision.Tue, Oct 12, 3:43 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Tue, Oct 12, 3:43 PM
This revision was automatically updated to reflect the committed changes.