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