1
0
mirror of https://github.com/nlohmann/json synced 2025-01-05 23:21:06 +00:00

drop std::enable_if part

This commit is contained in:
chenguoping 2020-06-23 09:14:55 +08:00
parent aeef50709e
commit 0ecf297457
2 changed files with 2 additions and 4 deletions

View File

@ -12,8 +12,7 @@ namespace nlohmann
{
namespace detail
{
template<typename string_type, typename std::enable_if<
std::is_same<char, typename string_type::value_type>::value, int>::type = 0>
template<typename string_type>
void int_to_string( string_type& target, std::size_t value )
{
// For ADL

View File

@ -3650,8 +3650,7 @@ namespace nlohmann
{
namespace detail
{
template<typename string_type, typename std::enable_if<
std::is_same<char, typename string_type::value_type>::value, int>::type = 0>
template<typename string_type>
void int_to_string( string_type& target, std::size_t value )
{
// For ADL