Unverified Commit 6b74772f authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

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

Remove HEDLEY annotation from exception::what()
parents 80e7d6fd 0a9ec38f
...@@ -49,7 +49,6 @@ class exception : public std::exception ...@@ -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();
......
...@@ -2640,7 +2640,6 @@ class exception : public std::exception ...@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment