From bb1c82ef7d8412fa11c78574c8103283f0ff516c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 5 Feb 2017 06:59:59 -0800 Subject: [PATCH] Fix build --- fmt/format.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fmt/format.h b/fmt/format.h index a6a87fb5..6de92b0c 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -2199,7 +2199,7 @@ class basic_writer { private: // Output buffer. - buffer &buffer_; + fmt::buffer &buffer_; FMT_DISALLOW_COPY_AND_ASSIGN(basic_writer); @@ -2302,7 +2302,7 @@ class basic_writer { /** Constructs a ``basic_writer`` object. */ - explicit basic_writer(buffer &b) : buffer_(b) {} + explicit basic_writer(fmt::buffer &b) : buffer_(b) {} public: /** @@ -2443,7 +2443,7 @@ class basic_writer { void clear() FMT_NOEXCEPT { buffer_.clear(); } - buffer &buffer() FMT_NOEXCEPT { return buffer_; } + fmt::buffer &buffer() FMT_NOEXCEPT { return buffer_; } }; template @@ -2472,7 +2472,7 @@ typename basic_writer::CharPtr basic_writer::write_str( template template void basic_writer::write_str( - BasicStringRef s, const basic_writer::format_specs &spec) { + BasicStringRef s, const format_specs &spec) { // Check if StrChar is convertible to Char. internal::CharTraits::convert(StrChar()); if (spec.type_ && spec.type_ != 's')