]> git.lyx.org Git - lyx.git/blobdiff - src/boost.cpp
* GuiView.cpp:
[lyx.git] / src / boost.cpp
index c988bbaeb3602caf0ab634f7cbb04b042000ac9d..f195cdf4e9903097415cf300343c39a50a59be99 100644 (file)
@@ -22,7 +22,6 @@
 
 using namespace std;
 using lyx::lyxerr;
-using lyx::LyX;
 
 namespace boost {
 
@@ -45,7 +44,7 @@ void assertion_failed(char const * expr, char const * function,
        // FIXME: by default we exit here but we could also inform the user
        // about the assertion and do the emergency cleanup without exiting.
        // FIXME: do we have a list of exit codes defined somewhere?
-       LyX::cref().exit(1);
+       lyx::lyx_exit(1);
 }
 
 } // namespace boost