diff --git a/include/nlohmann/detail/output/output_adapters.hpp b/include/nlohmann/detail/output/output_adapters.hpp index aa6217ec6..ff86a6e19 100644 --- a/include/nlohmann/detail/output/output_adapters.hpp +++ b/include/nlohmann/detail/output/output_adapters.hpp @@ -99,7 +99,7 @@ class output_adapter : oa(std::make_shared>(s)) {} output_adapter(StringType& s) - : oa(std::make_shared>(s)) {} + : oa(std::make_shared>(s)) {} operator output_adapter_t() { diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index b37c21c6f..4713d4da8 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -4808,7 +4808,7 @@ class output_adapter : oa(std::make_shared>(s)) {} output_adapter(StringType& s) - : oa(std::make_shared>(s)) {} + : oa(std::make_shared>(s)) {} operator output_adapter_t() {