]> git.lyx.org Git - lyx.git/blobdiff - src/boost.cpp
Fix the rest of bug 5010.
[lyx.git] / src / boost.cpp
index 874bc06b4b68786e80679ae2b686fb0311ac9916..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 <iostream>
 
 using namespace std;
 using lyx::lyxerr;
@@ -30,7 +30,7 @@ namespace boost {
 void throw_exception(exception const & e)
 {
        lyxerr << "Exception caught:\n" << e.what() << endl;
-       BOOST_ASSERT(false);
+       LASSERT(false, /**/);
 }
 #endif