nlohmann / json

JSON for Modern C++
https://json.nlohmann.me
MIT License
42.18k stars 6.65k forks source link

gcc-13 compile failure fix rebind for custom allocators #3966

Closed navinp0304 closed 1 year ago

navinp0304 commented 1 year ago

[Describe your pull request here. Please read the text below the line, and make sure you follow the checklist.] tests are failing for gcc-13 because of an static_assert added in allocators. To mitigate the build failure we need to add a struct rebind to custom allocators as per gcc.gnu.org/bugzilla/show_bug.cgi?id=72792


Pull request checklist

Read the Contribution Guidelines for detailed information.

Please don't

coveralls commented 1 year ago

Coverage Status

Coverage: 100.0%. Remained the same when pulling af2a93f414cf7710c5ccb5d3f2b92090f0af4c17 on navinp0304:develop into b504dca35a6aac16c4596441a78024737bcc95c0 on nlohmann:develop.

navinp0304 commented 1 year ago

failing on gcc-6