mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-08 02:28:15 +00:00
Remove invalid noexcept annotation
buffered_file& operator=(buffered_file&& other) calls close which can throw.
This commit is contained in:
parent
9cbf4b087c
commit
ea54b21e78
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user