lib: use object pool for event and packet notifications
[babeltrace.git] / lib / graph / notification / discarded-elements.c
index 08fa0cbfe4e9b1011462f7766e951e03b3e91247..0dfd757966dc070740de2a48a0e501970077e331 100644 (file)
@@ -53,6 +53,7 @@ void bt_notification_discarded_elements_destroy(struct bt_object *obj)
 
 BT_HIDDEN
 struct bt_notification *bt_notification_discarded_elements_create(
+               struct bt_graph *graph,
                enum bt_notification_type type,
                struct bt_stream *stream,
                struct bt_clock_value *begin_clock_value,
@@ -77,7 +78,7 @@ struct bt_notification *bt_notification_discarded_elements_create(
        }
 
        bt_notification_init(&notification->parent, type,
-               bt_notification_discarded_elements_destroy);
+               bt_notification_discarded_elements_destroy, NULL);
        ret_notif = &notification->parent;
        notification->stream = bt_get(stream);
        notification->begin_clock_value = bt_get(begin_clock_value);
This page took 0.024069 seconds and 4 git commands to generate.