Fix warning C26439

This commit is contained in:
Jiwoo Park
2024-04-19 09:06:46 -07:00
committed by Victor Zverovich
parent f746a59a5c
commit f4b256c667
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ file_buffer::file_buffer(cstring_view path, const ostream_params& params)
set(new char[params.buffer_size], params.buffer_size);
}
file_buffer::file_buffer(file_buffer&& other)
file_buffer::file_buffer(file_buffer&& other) noexcept
: buffer<char>(grow, other.data(), other.size(), other.capacity()),
file_(std::move(other.file_)) {
other.clear();