X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fboost.cpp;h=7ae7433a1bea38ca2e537682e457789fba571ef3;hb=3628ceec480c3d8fa9673f80f781eb1153fb9e1f;hp=75e775e6335c38eff3845a1384e1d6a74e63fb5f;hpb=c2f99181e60c3b92ddeed85a5910ac856d155810;p=lyx.git diff --git a/src/boost.cpp b/src/boost.cpp index 75e775e633..7ae7433a1b 100644 --- a/src/boost.cpp +++ b/src/boost.cpp @@ -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