projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c85995
)
Fix thinko in ExceptionStore; nothing happens after rethrow_exception..! (backport...
author
Carl Hetherington
<cth@carlh.net>
Tue, 21 Oct 2014 19:00:29 +0000
(20:00 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 21 Oct 2014 19:00:29 +0000
(20:00 +0100)
src/lib/exceptions.h
patch
|
blob
|
history
diff --git
a/src/lib/exceptions.h
b/src/lib/exceptions.h
index 3423a5754e340e3909b6b59ef617b5785d1a2809..2820ce4a166dcf14c20c8924776049b220950611 100644
(file)
--- a/
src/lib/exceptions.h
+++ b/
src/lib/exceptions.h
@@
-252,8
+252,9
@@
public:
void rethrow () {
boost::mutex::scoped_lock lm (_mutex);
if (_exception) {
- boost::
rethrow_exception (_exception)
;
+ boost::
exception_ptr tmp = _exception
;
_exception = boost::exception_ptr ();
+ boost::rethrow_exception (tmp);
}
}