Do not use BOOST_CURRENT_FUNCTION

There is no need to use that, since __func__ is standard in C++11.

Anyway, this code is unused unless one defines USE__func__ to something.
This commit is contained in:
Jean-Marc Lasgouttes 2019-06-17 15:57:03 +02:00
parent 91c58d9a68
commit fbe0caa483

View 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