X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fboost.C;h=ff420ec555311da2a44d247c96dd3096e4951ec3;hb=3815df7705b09920f9bb60c6fd9ee0576fe0a834;hp=b335e31c711f8b5d3e6e690718d2da3d6429f4ce;hpb=ec15dfd2a3049bbabcaf7d41de5709a5faf41cc0;p=lyx.git diff --git a/src/boost.C b/src/boost.C index b335e31c71..ff420ec555 100644 --- a/src/boost.C +++ b/src/boost.C @@ -18,10 +18,9 @@ #include - -namespace lyx { - using std::endl; +using lyx::lyxerr; +using lyx::LyX; namespace boost { @@ -34,7 +33,6 @@ void throw_exception(std::exception const & e) } #endif -namespace { void emergencyCleanup() { @@ -47,8 +45,6 @@ void emergencyCleanup() LyX::cref().emergencyCleanup(); } -} - void assertion_failed(char const * expr, char const * function, char const * file, long line) @@ -57,11 +53,7 @@ void assertion_failed(char const * expr, char const * function, << " by failing check \"" << expr << "\"" << " in file " << file << ":" << line << endl; emergencyCleanup(); - support::abort(); + lyx::support::abort(); } - -} - - -} // namespace lyx +} // namespace boost