From 0ecf297457272a887a454508bb66610e9156a920 Mon Sep 17 00:00:00 2001 From: chenguoping Date: Tue, 23 Jun 2020 09:14:55 +0800 Subject: [PATCH] drop std::enable_if part --- include/nlohmann/detail/iterators/iteration_proxy.hpp | 3 +-- single_include/nlohmann/json.hpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/nlohmann/detail/iterators/iteration_proxy.hpp b/include/nlohmann/detail/iterators/iteration_proxy.hpp index d19be4dd..7d0f1e59 100644 --- a/include/nlohmann/detail/iterators/iteration_proxy.hpp +++ b/include/nlohmann/detail/iterators/iteration_proxy.hpp @@ -12,8 +12,7 @@ namespace nlohmann { namespace detail { -template::value, int>::type = 0> +template void int_to_string( string_type& target, std::size_t value ) { // For ADL diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 58b12a7d..a6f9af99 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -3650,8 +3650,7 @@ namespace nlohmann { namespace detail { -template::value, int>::type = 0> +template void int_to_string( string_type& target, std::size_t value ) { // For ADL