]> git.lyx.org Git - lyx.git/blobdiff - src/boost.C
* lyx_main.C: remove duplicate function assertion_failed
[lyx.git] / src / boost.C
index 217649650b45f6b2f1ec7d7dc3e912785cd04f34..ff420ec555311da2a44d247c96dd3096e4951ec3 100644 (file)
@@ -19,6 +19,8 @@
 #include <exception>
 
 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