aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-threadevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-threadevent.c')
-rw-r--r--gdb/python/py-threadevent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-threadevent.c b/gdb/python/py-threadevent.c
index bba974b..9217444 100644
--- a/gdb/python/py-threadevent.c
+++ b/gdb/python/py-threadevent.c
@@ -52,7 +52,7 @@ create_thread_event_object (PyTypeObject *py_type)
{
PyObject *thread = NULL;
- gdbpy_ref thread_event_obj (create_event_object (py_type));
+ gdbpy_ref<> thread_event_obj (create_event_object (py_type));
if (thread_event_obj == NULL)
return NULL;