Update os.h

This commit is contained in:
Boostibot 2020-08-31 16:03:31 +02:00
parent e66ba16923
commit 6be51ca3d5

View File

@ -395,6 +395,7 @@ class ostream : private detail::buffer<char> {
public:
ostream(ostream&& other) : file_(std::move(other.file_)) {
set(other.data(), other.capacity());
other.set(nullptr, 0);
}
~ostream() {