1
0
mirror of https://github.com/nlohmann/json synced 2024-11-24 21:00:13 +00:00
nlohmannjson/include
Remy Jette 0a9ec38f44 Remove HEDLEY annotation from exception::what()
The latest MSVC compiler throws the following warning on
nlohmann::detail::exception::what() if /analyze is enabled:

```
vcruntime_exception.h(93) : warning C28204: 'what' has an override at
`nlohmann\json\develop\single_include\nlohmann\json.hpp(2644)`
and only the override is annotated for return: when an override is
annotated, the base (this function) should be similarly annotated.
```

See https://godbolt.org/z/r331h4
2021-03-15 17:45:40 -07:00
..
nlohmann Remove HEDLEY annotation from exception::what() 2021-03-15 17:45:40 -07:00