summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/fstream.tcc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/bits/fstream.tcc')
-rw-r--r--libstdc++-v3/include/bits/fstream.tcc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libstdc++-v3/include/bits/fstream.tcc b/libstdc++-v3/include/bits/fstream.tcc
index f23ff7af4eb6..08cf189ee06c 100644
--- a/libstdc++-v3/include/bits/fstream.tcc
+++ b/libstdc++-v3/include/bits/fstream.tcc
@@ -239,13 +239,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
if (!_M_terminate_output())
__testfail = true;
}
- __catch(__cxxabiv1::__forced_unwind&)
+ __catch(...)
{
_M_file.close();
__throw_exception_again;
}
- __catch(...)
- { __testfail = true; }
}
if (!_M_file.close())