aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-09-01 14:33:52 +0200
committerhjk <qtc-committer@nokia.com>2010-09-01 14:35:06 +0200
commitbe4342b70e64b5678385e4fcc0d7310797d7835f (patch)
tree17904b7d475266dcbd1fb18bbc81d0d029bef961 /tests
parent700433fc16e14292880ec9d329699e1cd889367e (diff)
debugger: use dynamic type in locals & watchers
only available with gdb newer than Aug 31, 2010
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/gdbdebugger/simple/app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp
index 3d2ee22b09a..829a36d2c4e 100644
--- a/tests/manual/gdbdebugger/simple/app.cpp
+++ b/tests/manual/gdbdebugger/simple/app.cpp
@@ -155,7 +155,7 @@ public:
a += 1;
}
- ~Foo()
+ virtual ~Foo()
{
a = 5;
}