]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/tests/boost.cpp
Update to boost 1.72
[lyx.git] / src / frontends / tests / boost.cpp
index 09d701dfd51980046a88cd3919d3d34cc4292619..7230f5b003905a8368aa7fd5e4e78616bf598b61 100644 (file)
 
 #include <config.h>
 
-#include <cstdlib>
-#include <iostream>
 #include <boost/assert.hpp>
 
+#include <cstdlib>
+#include <exception>
+
 using namespace std;
 
 namespace boost {
@@ -21,7 +22,6 @@ namespace boost {
 #ifndef BOOST_NO_EXCEPTIONS
 void throw_exception(exception const & /*e*/)
 {
-       cerr<<"ASSERTION VIOLATED IN biblio test";
        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