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
2 changed files with 0 additions and 2 deletions
-1
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();
-1
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();