2
0
mirror of https://github.com/boostorg/io.git synced 2026-01-19 04:12:14 +00:00

Mark scope guard dtors as throwing when calling basic_ios::exceptions(). (#15)

This commit is contained in:
Andrey Semashev
2023-10-03 00:15:24 +03:00
committed by GitHub
parent 83e927f998
commit 342e4c6d10

View File

@@ -155,7 +155,7 @@ public:
s.exceptions(a);
}
~basic_ios_exception_saver() {
~basic_ios_exception_saver() BOOST_NOEXCEPT_IF(false) {
this->restore();
}
@@ -413,7 +413,7 @@ public:
#endif
{ }
~basic_ios_all_saver() {
~basic_ios_all_saver() BOOST_NOEXCEPT_IF(false) {
this->restore();
}