X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fboost.C;h=ff420ec555311da2a44d247c96dd3096e4951ec3;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=217649650b45f6b2f1ec7d7dc3e912785cd04f34;hpb=e7fc677261bd14fdf159e594fcf422e985c72664;p=lyx.git diff --git a/src/boost.C b/src/boost.C index 217649650b..ff420ec555 100644 --- a/src/boost.C +++ b/src/boost.C @@ -19,6 +19,8 @@ #include using std::endl; +using lyx::lyxerr; +using lyx::LyX; namespace boost { @@ -31,7 +33,6 @@ void throw_exception(std::exception const & e) } #endif -namespace { void emergencyCleanup() { @@ -44,8 +45,6 @@ void emergencyCleanup() LyX::cref().emergencyCleanup(); } -} - void assertion_failed(char const * expr, char const * function, char const * file, long line) @@ -57,5 +56,4 @@ void assertion_failed(char const * expr, char const * function, lyx::support::abort(); } - -} +} // namespace boost