]> git.lyx.org Git - lyx.git/blobdiff - src/boost.cpp
Remove traces of Q_CYGWIN_WIN
[lyx.git] / src / boost.cpp
index 75e775e6335c38eff3845a1384e1d6a74e63fb5f..044d20a922bf684ced2030edd82fd4caea23bb75 100644 (file)
@@ -26,9 +26,9 @@ using lyx::lyxerr;
 namespace boost {
 
 #ifndef BOOST_NO_EXCEPTIONS
-void throw_exception(exception const & e)
+void throw_exception(std::exception const & e)
 {
-       lyxerr << "Exception caught:\n" << e.diagnostic_information() << endl;
+       lyxerr << "Exception caught:\n" << e.what() << endl;
        LASSERT(false, /**/);
 }
 #endif