mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Remove unused function
This commit is contained in:
parent
57f462428d
commit
5413713c95
@ -383,12 +383,6 @@ class ostream : private detail::buffer<char> {
|
||||
size_t buffer_size_;
|
||||
std::unique_ptr<char[]> 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());
|
||||
|
Loading…
Reference in New Issue
Block a user