Commit 0ecf2974 by chenguoping

drop std::enable_if part

parent aeef5070
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment