Fixed TBB exception handling, for real this time I think.

release/4.3a0
Richard Roberts 2013-10-12 17:09:41 +00:00
parent b5222d0d97
commit 52b91ac371
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ namespace gtsam {
}
virtual void throw_self() {
throw *this; }
throw *static_cast<DERIVED*>(this); }
virtual const char* name() const throw() {
return typeid(DERIVED).name(); }