diff --git a/src/json.hpp b/src/json.hpp index a6775e53..3cf3a139 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -5801,7 +5801,7 @@ class basic_json /////////////////////////// /// return the type as string - string_t type_name() const noexcept + std::string type_name() const { switch (m_type) { diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 1967f6a8..15ab97e6 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -5801,7 +5801,7 @@ class basic_json /////////////////////////// /// return the type as string - string_t type_name() const noexcept + std::string type_name() const { switch (m_type) {