commit fbe0caa483a6bfd791049970720e3dbe0aff8763
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Mon Jun 17 15:57:03 2019 +0200

    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.
---
 src/support/debug.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/support/debug.h b/src/support/debug.h
index 212049a..5a96af2 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 <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

Reply via email to