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-22 09:20:42 -08:00
parent 5b7a710ea3
commit 108650a55a
+1 -1
View File
@@ -17,7 +17,7 @@ public:
lock.unlock();
}
~reverse_lock() {
~reverse_lock() noexcept(false) {
lock.lock();
}