X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fdebug%2Fbacktrace.cpp;h=de1f76e910611ee6dd95be1fadcda9dc727e4ff8;hp=f9057dce833d95b9231917bd763a489f7a856fb1;hb=f24e7b96e76b63c9b9b8a6bce4c7a9db64276ea8;hpb=9f754b788b872f9768af8c3a4f9e001a588e011a diff --git a/source/debug/backtrace.cpp b/source/debug/backtrace.cpp index f9057dc..de1f76e 100644 --- a/source/debug/backtrace.cpp +++ b/source/debug/backtrace.cpp @@ -43,9 +43,8 @@ Backtrace Backtrace::create() ostream &operator<<(ostream &out, const Backtrace &bt) { - const list &frames = bt.get_frames(); - for(list::const_iterator i=frames.begin(); i!=frames.end(); ++i) - out<<*i<<'\n'; + for(const Backtrace::StackFrame &f: bt.get_frames()) + out<