]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/boost.C
add config.h
[lyx.git] / src / tex2lyx / boost.C
index f923302c370c18c30be44a20dcccb3fb14a27cd3..a3bfe846ef0350287c01eb59a02a01a6b45814a1 100644 (file)
 #include <cstdlib>
 #include <exception>
 
+
 using std::endl;
 
 namespace boost {
 
 void throw_exception(std::exception const & e)
 {
-       lyxerr << "Exception caught:\n"
+       lyx::lyxerr << "Exception caught:\n"
               << e.what() << endl;
        BOOST_ASSERT(false);
 }
@@ -32,7 +33,7 @@ void throw_exception(std::exception const & e)
 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;
        ::abort();