backtrace_null: correct the namespace

This commit is contained in:
Danny Robson 2022-06-23 07:28:26 +10:00
parent 10ba888a4b
commit 9451083f83

View File

@ -11,16 +11,18 @@
#include <ostream> #include <ostream>
static constexpr std::size_t DEFAULT_DEPTH = 16;
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
debug::backtrace::backtrace (void): cruft::backtrace::backtrace (void):
m_frames (DEFAULT_DEPTH) m_frames (DEFAULT_DEPTH)
{ ; } { ; }
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
std::ostream& std::ostream&
debug::operator <<(std::ostream &os, const debug::backtrace&) cruft::operator <<(std::ostream &os, const cruft::backtrace&)
{ {
return os << "null_backtrace"; return os << "null_backtrace";
} }