Fix windows build.
authorCarl Hetherington <cth@carlh.net>
Mon, 25 Nov 2013 12:44:34 +0000 (12:44 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 25 Nov 2013 12:44:34 +0000 (12:44 +0000)
src/lib/util.cc

index c4a634c08d5cc4e99464b5bed2223cb627e9cb53..4a9998141d5ddf2d44f7c8b100683beee850a5d5 100644 (file)
@@ -259,7 +259,7 @@ LONG WINAPI exception_handler(struct _EXCEPTION_POINTERS *)
 {
        dbg::stack s;
        FILE* f = fopen_boost (backtrace_file, "w");
-       for (dbg::stack_frame::const_iterator i = s.begin(); i != s.end(); ++i) {
+       for (dbg::stack::const_iterator i = s.begin(); i != s.end(); ++i) {
                fprintf (f, "%p %s %d %s", i->instruction, i->function.c_str(), i->line, i->module.c_str());
        }
        fclose (f);