X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fclient%2Fboost.cpp;h=bf53dd164c74f1accb1b67085b126b6fdc056bd6;hb=6f8298b1658106c6536a6532af27822e74d41649;hp=3cef1218cdb1b0170faffaf5ea4639983d3230b7;hpb=bacd98eab6ac095dc765859e9c996aa97931bd07;p=lyx.git diff --git a/src/client/boost.cpp b/src/client/boost.cpp index 3cef1218cd..bf53dd164c 100644 --- a/src/client/boost.cpp +++ b/src/client/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. */ @@ -11,39 +11,32 @@ #include #include "LyX.h" -#include "debug.h" -#include "support/lyxlib.h" +#include "support/debug.h" #include #include +#include - -namespace lyx { - -using std::endl; +using namespace std; namespace boost { -void throw_exception(std::exception const & e) +void throw_exception(exception const & e) { - lyxerr << "Exception caught:\n" - << e.what() << endl; + lyx::lyxerr << "Exception caught:\n" << e.what() << endl; BOOST_ASSERT(false); } - +/* void assertion_failed(char const * expr, char const * function, char const * file, long line) { - lyxerr << "Assertion triggered in " << function + lyx::lyxerr << "Assertion triggered in " << function << " by failing check \"" << expr << "\"" << " in file " << file << ":" << line << endl; lyx::support::abort(); } +*/ - -} - - -} // namespace lyx +} // namespace boost