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

Remove HEDLEY annotation from exception::what()
This commit is contained in:
Niels Lohmann authored and GitHub committed 2021-03-23 07:48:00 +01:00
commit 6b74772fe8
2 files changed
-2

No files matched your search

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