Include a dubious "bug-fix" which allows exceptions to be thrown in reverselock destructor, which is required in reverselock_tests. ref #480
This commit is contained in:
parent
5b7a710ea3
commit
108650a55a
|
@ -17,7 +17,7 @@ public:
|
|||
lock.unlock();
|
||||
}
|
||||
|
||||
~reverse_lock() {
|
||||
~reverse_lock() noexcept(false) {
|
||||
lock.lock();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue