]> git.lyx.org Git - lyx.git/blobdiff - src/tests/boost.cpp
Update to boost 1.72
[lyx.git] / src / tests / boost.cpp
index 426263b19d007430e4e97022a9bf39572ca9ac0d..7230f5b003905a8368aa7fd5e4e78616bf598b61 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <config.h>
 
-#include "support/lassert.h"
+#include <boost/assert.hpp>
 
 #include <cstdlib>
 #include <exception>
@@ -22,7 +22,7 @@ namespace boost {
 #ifndef BOOST_NO_EXCEPTIONS
 void throw_exception(exception const & /*e*/)
 {
-       LASSERT(false, /**/);
+       BOOST_ASSERT(false);
 }
 #endif
 
@@ -33,4 +33,11 @@ void assertion_failed(char const * /*expr*/, char const * /*function*/,
        ::abort();
 }
 
+
+void assertion_failed_msg(char const * /*expr*/, char const * /*msg*/,
+                                                 char const * /*function*/, char const * /*file*/, long /*line*/)
+{
+       ::abort();
+}
+
 } // namespace boost