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