From c105fb4d0ffed0cc5cfb659d9262b4dbc1476511 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 8 Sep 2017 14:10:11 +1000 Subject: [PATCH] debug: fully qualify panic detail functions silences warnings under clang --- debug.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debug.cpp b/debug.cpp index 5ff4aeb6..31847bdb 100644 --- a/debug.cpp +++ b/debug.cpp @@ -26,7 +26,7 @@ using namespace util::debug; //////////////////////////////////////////////////////////////////////////////// void -detail::panic (const char *msg) +util::debug::detail::panic (const char *msg) { std::cerr << "PANIC: " << msg << "\n" << ::debug::backtrace () << std::endl; breakpoint (); @@ -36,7 +36,7 @@ detail::panic (const char *msg) //////////////////////////////////////////////////////////////////////////////// void -detail::not_implemented (const char *msg) +util::debug::detail::not_implemented (const char *msg) { panic (msg); } @@ -44,7 +44,7 @@ detail::not_implemented (const char *msg) //----------------------------------------------------------------------------- void -detail::unreachable (const char *msg) +util::debug::detail::unreachable (const char *msg) { panic (msg); }