mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
91c58d9a68
commit
fbe0caa483
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user