Merge pull request #2673 from remyjette/remove-exception-annotation

Remove HEDLEY annotation from exception::what()
This commit is contained in:
Niels Lohmann 2021-03-23 07:48:00 +01:00 committed by GitHub
commit 6b74772fe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -49,7 +49,6 @@ class exception : public std::exception
{ {
public: public:
/// returns the explanatory string /// returns the explanatory string
JSON_HEDLEY_RETURNS_NON_NULL
const char* what() const noexcept override const char* what() const noexcept override
{ {
return m.what(); return m.what();

View File

@ -2640,7 +2640,6 @@ class exception : public std::exception
{ {
public: public:
/// returns the explanatory string /// returns the explanatory string
JSON_HEDLEY_RETURNS_NON_NULL
const char* what() const noexcept override const char* what() const noexcept override
{ {
return m.what(); return m.what();