• Remy Jette's avatar
    Remove HEDLEY annotation from exception::what() · 0a9ec38f
    Remy Jette authored
    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
    0a9ec38f
json.hpp 920 KB