]> git.lyx.org Git - lyx.git/blobdiff - src/support/debug.h
Do not use BOOST_CURRENT_FUNCTION
[lyx.git] / src / support / debug.h
index 212049a609eb44c4e11fa15b68789fca52cc15b2..5a96af234dc35fa909be19d10b2f1e77bfa944ac 100644 (file)
@@ -217,9 +217,8 @@ extern LyXErr lyxerr;
 
 } // namespace lyx
 
-#if USE_BOOST_CURRENT_FUNCTION
-#      include <boost/current_function.hpp>
-#      define CURRENT_POSITION BOOST_CURRENT_FUNCTION ": "
+#if USE__func__
+#      define CURRENT_POSITION __func__ ": "
 #else
 # define CURRENT_POSITION lyx::LyXErr::stripName(__FILE__) << " (" << __LINE__ << "): "
 #endif