nlohmann / json

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

Fix compile error with _HAS_STATIC_RTTI=0 #4046

Closed ALF-ONE closed 1 year ago

ALF-ONE commented 1 year ago

Fix compile error with _HAS_STATIC_RTTI=0 See: https://github.com/microsoft/STL/blob/main/stl/inc/any#L15


Pull request checklist

Read the Contribution Guidelines for detailed information.

Please don't

nlohmann commented 1 year ago

Can you please add some documentation to this (see https://github.com/nlohmann/json/blob/develop/docs/mkdocs/docs/api/macros/json_no_io.md for example). Furthermore, is there an issue that this MR is closing?

coveralls commented 1 year ago

Coverage Status

coverage: 100.0%. remained the same when pulling dbc6a1ded17d8303e1b49f6301b2938924e9458b on ALF-ONE:develop into c71ecde505ebf236048a731c81ae8ecaf2b260a8 on nlohmann:develop.

nlohmann commented 1 year ago

Please update to the latest develop to have a fixed CI.

nlohmann commented 1 year ago

Thanks!