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.tcc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/bits/fstream.tcc b/libstdc++-v3/include/bits/fstream.tcc
index f1ffda23eee..5898a21bc90 100644
--- a/libstdc++-v3/include/bits/fstream.tcc
+++ b/libstdc++-v3/include/bits/fstream.tcc
@@ -49,7 +49,7 @@ namespace std
catch(...)
{
delete _M_file;
- throw;
+ __throw_exception_again;
}
}
}
@@ -67,7 +67,7 @@ namespace std
catch(...)
{
delete [] _M_buf;
- throw;
+ __throw_exception_again;
}
// Allocate pback buffer.
@@ -76,7 +76,7 @@ namespace std
catch(...)
{
delete [] _M_pback;
- throw;
+ __throw_exception_again;
}
}
}