diff options
Diffstat (limited to 'base/debug/stack_trace_win.cc')
-rw-r--r-- | base/debug/stack_trace_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/debug/stack_trace_win.cc b/base/debug/stack_trace_win.cc index f00017f..97376a2 100644 --- a/base/debug/stack_trace_win.cc +++ b/base/debug/stack_trace_win.cc @@ -174,11 +174,11 @@ StackTrace::StackTrace(EXCEPTION_POINTERS* exception_pointers) { } } -void StackTrace::PrintBacktrace() { +void StackTrace::PrintBacktrace() const { OutputToStream(&std::cerr); } -void StackTrace::OutputToStream(std::ostream* os) { +void StackTrace::OutputToStream(std::ostream* os) const { SymbolContext* context = SymbolContext::GetInstance(); DWORD error = context->init_error(); if (error != ERROR_SUCCESS) { |