forward alternative string class from output_adapter to output_string_adapter

This commit is contained in:
Vitaliy Manushkin 2018-03-10 23:58:16 +03:00
parent ed6b1464f9
commit 830f3e5290
2 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ class output_adapter
: oa(std::make_shared<output_stream_adapter<CharType>>(s)) {}
output_adapter(StringType& s)
: oa(std::make_shared<output_string_adapter<CharType>>(s)) {}
: oa(std::make_shared<output_string_adapter<CharType, StringType>>(s)) {}
operator output_adapter_t<CharType>()
{

View file

@ -4808,7 +4808,7 @@ class output_adapter
: oa(std::make_shared<output_stream_adapter<CharType>>(s)) {}
output_adapter(StringType& s)
: oa(std::make_shared<output_string_adapter<CharType>>(s)) {}
: oa(std::make_shared<output_string_adapter<CharType, StringType>>(s)) {}
operator output_adapter_t<CharType>()
{