update boost on linux

This commit is contained in:
Bassem Girgis
2019-08-10 16:06:25 -05:00
parent 76ad52be58
commit 861b918727
5363 changed files with 483306 additions and 116507 deletions

View File

@@ -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
}
}