Use throw() when noexcept is not supported
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ OutputRedirect::OutputRedirect(FILE *file) : file_(file) {
|
||||
write_end.dup2(fd);
|
||||
}
|
||||
|
||||
OutputRedirect::~OutputRedirect() FMT_NOEXCEPT(true) {
|
||||
OutputRedirect::~OutputRedirect() FMT_NOEXCEPT {
|
||||
try {
|
||||
restore();
|
||||
} catch (const std::exception &e) {
|
||||
|
||||
Reference in New Issue
Block a user