diff --git a/src/json.hpp b/src/json.hpp index 6ea8c249..ab9b75d7 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -524,8 +524,7 @@ struct has_to_json ///////////// template::type, - typename BasicJsonType::boolean_t>::value, int> = 0> + std::is_same::value, int> = 0> void to_json(BasicJsonType& j, T b) noexcept { external_constructor::construct(j, b); diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 72724a35..c409d18f 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -524,8 +524,7 @@ struct has_to_json ///////////// template::type, - typename BasicJsonType::boolean_t>::value, int> = 0> + std::is_same::value, int> = 0> void to_json(BasicJsonType& j, T b) noexcept { external_constructor::construct(j, b);