libcruft-util/backtrace_null.cpp

29 lines
678 B
C++
Raw Normal View History

2016-02-26 13:36:01 +11:00
/*
2018-08-04 15:14:06 +10:00
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
2016-02-26 13:36:01 +11:00
*
* Copyright:
* 2011-2012, Danny Robson <danny@nerdcruft.net>
*/
#include "backtrace.hpp"
2018-03-22 16:10:06 +11:00
#include <ostream>
2016-03-11 13:28:56 +11:00
///////////////////////////////////////////////////////////////////////////////
debug::backtrace::backtrace (void):
2015-04-13 18:06:08 +10:00
m_frames (DEFAULT_DEPTH)
{ ; }
2016-03-11 13:28:56 +11:00
///////////////////////////////////////////////////////////////////////////////
std::ostream&
debug::operator <<(std::ostream &os, const debug::backtrace&)
{
return os << "null_backtrace";
}