mirror of
https://github.com/boostorg/io.git
synced 2025-06-25 03:51:36 +02:00
Mark scope guard dtors as throwing when calling basic_ios::exceptions(). (#15)
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user