]> git.lyx.org Git - lyx.git/blobdiff - src/boost.cpp
Account for old versions of Pygments
[lyx.git] / src / boost.cpp
index f195cdf4e9903097415cf300343c39a50a59be99..7ae7433a1bea38ca2e537682e457789fba571ef3 100644 (file)
@@ -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.
  */
@@ -26,7 +26,7 @@ using lyx::lyxerr;
 namespace boost {
 
 #ifndef BOOST_NO_EXCEPTIONS
-void throw_exception(exception const & e)
+void throw_exception(std::exception const & e)
 {
        lyxerr << "Exception caught:\n" << e.what() << endl;
        LASSERT(false, /**/);