diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ba0254161..54aec7f7d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-12-07 Simon Marchi + + * common/selftest.h (struct selftest): Add virtual destructor. + 2017-12-07 Phil Muldoon * python/py-breakpoint.c (bppy_init): Use string_to_event_location diff --git a/gdb/common/selftest.h b/gdb/common/selftest.h index 35a344ff6c..7e91bd41bf 100644 --- a/gdb/common/selftest.h +++ b/gdb/common/selftest.h @@ -31,6 +31,7 @@ namespace selftests struct selftest { + virtual ~selftest () = default; virtual void operator() () const = 0; };