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:
Nathan Wilcox 2015-12-21 19:24:41 -08:00
parent 5b7a710ea3
commit 108650a55a
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public:
lock.unlock(); lock.unlock();
} }
~reverse_lock() { ~reverse_lock() noexcept(false) {
lock.lock(); lock.lock();
} }