Remove invalid noexcept annotation

buffered_file& operator=(buffered_file&& other) calls close which can
throw.
This commit is contained in:
Florin Iucha 2019-11-27 13:03:30 -05:00 committed by Victor Zverovich
parent 9cbf4b087c
commit ea54b21e78

View File

@ -157,7 +157,7 @@ class buffered_file {
other.file_ = nullptr; other.file_ = nullptr;
} }
buffered_file& operator=(buffered_file&& other) FMT_NOEXCEPT { buffered_file& operator=(buffered_file&& other) {
close(); close();
file_ = other.file_; file_ = other.file_;
other.file_ = nullptr; other.file_ = nullptr;