From 25520b60979ec4e0346fecaafdd549491013e87c Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 5 Apr 2016 11:09:28 +1000 Subject: [PATCH] backtrace: fully qualify std types --- backtrace_execinfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backtrace_execinfo.cpp b/backtrace_execinfo.cpp index ef50b88d..251095c7 100644 --- a/backtrace_execinfo.cpp +++ b/backtrace_execinfo.cpp @@ -72,12 +72,12 @@ addr2line (const void *addr) /////////////////////////////////////////////////////////////////////////////// -ostream& -debug::operator <<(ostream &os, const debug::backtrace &rhs) { +std::ostream& +debug::operator <<(std::ostream &os, const debug::backtrace &rhs) { const auto frames = rhs.frames (); // We don't use the array form of unique_ptr as clang fails on ambigious constructors - typedef unique_ptr str_t; + typedef std::unique_ptr str_t; str_t names (backtrace_symbols (frames.data (), frames.size ()), ::free); for (unsigned int i = 0; i < frames.size (); ++i)