From 5413713c95965fed5c1d95729f043cdaa898565e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 4 Aug 2020 19:08:06 -0700 Subject: [PATCH] Remove unused function --- include/fmt/os.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/fmt/os.h b/include/fmt/os.h index 7f2b2b28..15c1326f 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -383,12 +383,6 @@ class ostream : private detail::buffer { size_t buffer_size_; std::unique_ptr buffer_; - char* move_buffer(ostream&& other) { - buffer_ = std::move(other.buffer_); - buffer_size_ = other.buffer_size_; - return buffer_.get(); - } - void flush() { if (size() == 0) return; file_.write(buffer_.get(), size());