drop std::enable_if part
This commit is contained in:
1 parent
aeef50709e
commit
0ecf297457
2 files changed
+2
-4
No files matched your search
@@ -12,8 +12,7 @@ namespace nlohmann
|
|||||||
{
|
{
|
||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
template<typename string_type, typename std::enable_if<
|
template<typename string_type>
|
||||||
std::is_same<char, typename string_type::value_type>::value, int>::type = 0>
|
|
||||||
void int_to_string( string_type& target, std::size_t value )
|
void int_to_string( string_type& target, std::size_t value )
|
||||||
{
|
{
|
||||||
// For ADL
|
// For ADL
|
||||||
|
|||||||
@@ -3650,8 +3650,7 @@ namespace nlohmann
|
|||||||
{
|
{
|
||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
template<typename string_type, typename std::enable_if<
|
template<typename string_type>
|
||||||
std::is_same<char, typename string_type::value_type>::value, int>::type = 0>
|
|
||||||
void int_to_string( string_type& target, std::size_t value )
|
void int_to_string( string_type& target, std::size_t value )
|
||||||
{
|
{
|
||||||
// For ADL
|
// For ADL
|
||||||
|
|||||||
Reference in new issue
Block a user