]> git.lyx.org Git - lyx.git/blobdiff - src/support/tests/boost.cpp
Run codespell on src/support
[lyx.git] / src / support / tests / boost.cpp
index 2efd98926e4c533908b1b115c07d603f6bf8c0b9..7230f5b003905a8368aa7fd5e4e78616bf598b61 100644 (file)
@@ -3,14 +3,14 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
 
 #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