From: Jean-Marc Lasgouttes Date: Mon, 17 Jun 2019 13:57:03 +0000 (+0200) Subject: Do not use BOOST_CURRENT_FUNCTION X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f666814449e3d0dc7f9fb4d7dc5ed92eebe481ed;p=features.git 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. --- diff --git a/src/support/debug.h b/src/support/debug.h index 212049a609..5a96af234d 100644 --- a/src/support/debug.h +++ b/src/support/debug.h @@ -217,9 +217,8 @@ extern LyXErr lyxerr; } // namespace lyx -#if USE_BOOST_CURRENT_FUNCTION -# include -# define CURRENT_POSITION BOOST_CURRENT_FUNCTION ": " +#if USE__func__ +# define CURRENT_POSITION __func__ ": " #else # define CURRENT_POSITION lyx::LyXErr::stripName(__FILE__) << " (" << __LINE__ << "): " #endif