From 830f3e5290bf0ab2cda15ea45a4e036c9f7d4919 Mon Sep 17 00:00:00 2001 From: Vitaliy Manushkin Date: Sat, 10 Mar 2018 23:58:16 +0300 Subject: [PATCH] forward alternative string class from output_adapter to output_string_adapter --- include/nlohmann/detail/output/output_adapters.hpp | 2 +- single_include/nlohmann/json.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {