From bd7cd330cddb78fd873e10f2d46bb16a47bfe947 Mon Sep 17 00:00:00 2001 From: Niels Date: Fri, 1 Jul 2016 17:26:09 +0200 Subject: [PATCH] fixed type_name() signature --- src/json.hpp | 2 +- src/json.hpp.re2c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {