summaryrefslogtreecommitdiff
path: root/src/lib/exception_store.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/exception_store.h')
-rw-r--r--src/lib/exception_store.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/exception_store.h b/src/lib/exception_store.h
index d7c34c0f4..de0bed029 100644
--- a/src/lib/exception_store.h
+++ b/src/lib/exception_store.h
@@ -46,7 +46,7 @@ class ExceptionStore
{
public:
void rethrow () {
- boost::mutex::scoped_lock lm (_mutex);
+ boost::mutex::scoped_lock lm (_exception_mutex);
if (_exception) {
boost::exception_ptr tmp = _exception;
_exception = boost::exception_ptr ();
@@ -57,13 +57,13 @@ public:
protected:
void store_current () {
- boost::mutex::scoped_lock lm (_mutex);
+ boost::mutex::scoped_lock lm (_exception_mutex);
_exception = boost::current_exception ();
}
private:
boost::exception_ptr _exception;
- mutable boost::mutex _mutex;
+ mutable boost::mutex _exception_mutex;
};
#endif