mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-02 03:47:42 +01:00
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:
parent
f351c619de
commit
37c80a0f27
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue