diff --git a/include/nlohmann/detail/output/output_adapters.hpp b/include/nlohmann/detail/output/output_adapters.hpp index 7228ce352..27efd1587 100644 --- a/include/nlohmann/detail/output/output_adapters.hpp +++ b/include/nlohmann/detail/output/output_adapters.hpp @@ -15,10 +15,6 @@ namespace nlohmann namespace detail { - -template -struct output_adapter_impl; - // Output to a string, append() is faster than insert(str.end(),...) on some compilers, // so it's worth having a special override for it. template @@ -46,7 +42,7 @@ struct string_output_adapter template struct iterator_output_adapter { - using char_type = char; //????????????????????????? + using char_type = char; // N.B. This can't be right, but there's no way to infer that iterator_output_adapter(IteratorType dst) : dst_(dst) {} diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 29b778634..94cf329f7 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -12096,10 +12096,6 @@ namespace nlohmann namespace detail { - -template -struct output_adapter_impl; - // Output to a string, append() is faster than insert(str.end(),...) on some compilers, // so it's worth having a special override for it. template @@ -12127,7 +12123,7 @@ struct string_output_adapter template struct iterator_output_adapter { - using char_type = char; //????????????????????????? + using char_type = char; // N.B. This can't be right, but there's no way to infer that iterator_output_adapter(IteratorType dst) : dst_(dst) {}