pipewire: module-profiler: mark event vtable const

This commit is contained in:
Barnabás Pőcze 2023-09-16 17:15:32 +02:00
parent 7191ccb0b8
commit 3293e6a8ff

View file

@ -269,7 +269,7 @@ done:
n->count++; n->count++;
} }
static struct pw_impl_node_rt_events node_rt_events = { static const struct pw_impl_node_rt_events node_rt_events = {
PW_VERSION_IMPL_NODE_RT_EVENTS, PW_VERSION_IMPL_NODE_RT_EVENTS,
.complete = context_do_profile, .complete = context_do_profile,
.incomplete = context_do_profile, .incomplete = context_do_profile,