Browse Source

Include a dubious "bug-fix" which allows exceptions to be thrown in reverselock destructor, which is required in reverselock_tests. ref #480

pull/145/head
Nathan Wilcox 9 years ago
parent
commit
108650a55a
  1. 2
      src/reverselock.h

2
src/reverselock.h

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

Loading…
Cancel
Save