]> git.lyx.org Git - lyx.git/blobdiff - src/boost.cpp
Fix the rest of bug 5010.
[lyx.git] / src / boost.cpp
index b255e608850bc0d8ae7f7f171a0c65a5db10293e..c988bbaeb3602caf0ab634f7cbb04b042000ac9d 100644 (file)
 
 #include "support/debug.h"
 
-#include <boost/assert.hpp>
+#include "support/lassert.h"
 
 #include <exception>
 #include <iomanip>
+#include <iostream>
 
 using namespace std;
 using lyx::lyxerr;
@@ -29,7 +30,7 @@ namespace boost {
 void throw_exception(exception const & e)
 {
        lyxerr << "Exception caught:\n" << e.what() << endl;
-       BOOST_ASSERT(false);
+       LASSERT(false, /**/);
 }
 #endif