Skip to content

Commit

Permalink
Remove invalid noexcept annotation
Browse files Browse the repository at this point in the history
buffered_file& operator=(buffered_file&& other) calls close which can
throw.
  • Loading branch information
0x8000-0000 committed Nov 27, 2019
1 parent 0067987 commit 05a2dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class buffered_file {
other.file_ = nullptr;
}

buffered_file& operator=(buffered_file&& other) FMT_NOEXCEPT {
buffered_file& operator=(buffered_file&& other) {
close();
file_ = other.file_;
other.file_ = nullptr;
Expand Down

0 comments on commit 05a2dcc

Please sign in to comment.