diff --git a/src/json.hpp b/src/json.hpp index a6775e53e..3cf3a1394 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 1967f6a81..15ab97e64 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) {