diff options
Diffstat (limited to 'gdb/python/py-prettyprint.c')
| -rw-r--r-- | gdb/python/py-prettyprint.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/python/py-prettyprint.c b/gdb/python/py-prettyprint.c index a920e6f3cf7..6900bf64585 100644 --- a/gdb/python/py-prettyprint.c +++ b/gdb/python/py-prettyprint.c @@ -783,10 +783,8 @@ gdbpy_get_print_options (value_print_options *opts) /* A ValuePrinter is just a "tag", so it has no state other than that required by Python. */ -struct printer_object -{ - PyObject_HEAD -}; +struct printer_object : public PyObject +{}; /* The ValuePrinter type object. */ PyTypeObject printer_object_type = |
