update boost on linux
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <boost/assert.hpp>
|
||||
#include <boost/checked_delete.hpp>
|
||||
#include <boost/core/no_exceptions_support.hpp>
|
||||
#include <boost/signals2/postconstructible.hpp>
|
||||
#include <boost/signals2/predestructible.hpp>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
@@ -40,15 +41,16 @@ namespace boost
|
||||
}
|
||||
inline void do_predestruct(const predestructible *ptr)
|
||||
{
|
||||
try
|
||||
BOOST_TRY
|
||||
{
|
||||
predestructible *nonconst_ptr = const_cast<predestructible*>(ptr);
|
||||
nonconst_ptr->predestruct();
|
||||
}
|
||||
catch(...)
|
||||
BOOST_CATCH(...)
|
||||
{
|
||||
BOOST_ASSERT(false);
|
||||
}
|
||||
BOOST_CATCH_END
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user