fix a leftover use of shared_from_this()

This was left from the experimental phase of shared route groups,
when the GUI was still using raw pointers.
This commit is contained in:
Paul Davis 2025-12-16 12:07:26 -07:00
parent f351c619de
commit 37c80a0f27

View file

@ -207,7 +207,7 @@ EditorRouteGroups::remove_selected ()
std::shared_ptr<RouteGroup> rg = (*iter)[_columns.routegroup];
if (rg) {
_session->remove_route_group (rg->shared_from_this());
_session->remove_route_group (rg);
}
}
}