From 37c80a0f278c85bea652dbf2bcceda8436b62f2c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 16 Dec 2025 12:07:26 -0700 Subject: [PATCH] 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. --- gtk2_ardour/editor_route_groups.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_route_groups.cc b/gtk2_ardour/editor_route_groups.cc index e07d41bd84..bdd8e7a386 100644 --- a/gtk2_ardour/editor_route_groups.cc +++ b/gtk2_ardour/editor_route_groups.cc @@ -207,7 +207,7 @@ EditorRouteGroups::remove_selected () std::shared_ptr rg = (*iter)[_columns.routegroup]; if (rg) { - _session->remove_route_group (rg->shared_from_this()); + _session->remove_route_group (rg); } } }