diff --git a/src/TNL/Debugging/StackBacktrace.h b/src/TNL/Debugging/StackBacktrace.h index 6debbc8b9a9546a8111937fe0e69c27d4333af4d..5f5097781deec31be830b6332b5b81d26c11f3b1 100644 --- a/src/TNL/Debugging/StackBacktrace.h +++ b/src/TNL/Debugging/StackBacktrace.h @@ -15,7 +15,6 @@ namespace TNL { namespace Debugging { -#ifndef NDEBUG /* * Print a demangled stack backtrace of the caller function to FILE* out. * @@ -79,13 +78,6 @@ printStackBacktrace( std::ostream& out = std::cout, unsigned int max_frames = 64 } } } -#endif } // namespace Debugging } // namespace TNL - -#ifdef NDEBUG - #define PrintStackBacktrace -#else - #define PrintStackBacktrace TNL::Debugging::printStackBacktrace(); -#endif