]> git.lyx.org Git - lyx.git/blobdiff - src/boost.cpp
Fix #10778 (issue with CJK and language nesting)
[lyx.git] / src / boost.cpp
index 75e775e6335c38eff3845a1384e1d6a74e63fb5f..7ae7433a1bea38ca2e537682e457789fba571ef3 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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