Turn gdbpy_ref into a template
[deliverable/binutils-gdb.git] / gdb / python / py-bpevent.c
index c9b53b5023700d2835e41ef3033db1c014a97c83..c5a85b6b4c2af674b6e93b08c160204b776cd7af 100644 (file)
@@ -30,7 +30,7 @@ extern PyTypeObject breakpoint_event_object_type
 PyObject *
 create_breakpoint_event_object (PyObject *breakpoint_list, PyObject *first_bp)
 {
-  gdbpy_ref breakpoint_event_obj
+  gdbpy_ref<> breakpoint_event_obj
     (create_stop_event_object (&breakpoint_event_object_type));
 
   if (breakpoint_event_obj == NULL)
This page took 0.024726 seconds and 4 git commands to generate.