Added "throw()" to tbb derived exception classes so that library compiles
parent
f43c9557b9
commit
741f0ab4e3
|
|
@ -171,7 +171,9 @@ namespace gtsam {
|
||||||
public:
|
public:
|
||||||
// Implement functions for tbb_exception
|
// Implement functions for tbb_exception
|
||||||
#ifdef GTSAM_USE_TBB
|
#ifdef GTSAM_USE_TBB
|
||||||
virtual tbb::tbb_exception* move() {
|
virtual ~ThreadsafeException() throw () {} // Default destructor doesn't have the throw()
|
||||||
|
|
||||||
|
virtual tbb::tbb_exception* move() throw () {
|
||||||
DERIVED* clone = ::new DERIVED(static_cast<DERIVED&>(*this));
|
DERIVED* clone = ::new DERIVED(static_cast<DERIVED&>(*this));
|
||||||
clone->dynamic_ = true;
|
clone->dynamic_ = true;
|
||||||
return clone;
|
return clone;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue