mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
This is mostly a simple lexical search+replace but the absence of operator< for std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence and ExportPortChannel.
This commit is contained in:
parent
90c5524e7b
commit
b35518e212
819 changed files with 9736 additions and 9709 deletions
|
|
@ -961,7 +961,7 @@ EditorSummary::routes_added (list<RouteTimeAxisView*> const & r)
|
|||
for (list<RouteTimeAxisView*>::const_iterator i = r.begin(); i != r.end(); ++i) {
|
||||
/* Connect to the relevant signal for the route so that we know when its colour has changed */
|
||||
(*i)->route()->presentation_info().PropertyChanged.connect (*this, invalidator (*this), boost::bind (&EditorSummary::route_gui_changed, this, _1), gui_context ());
|
||||
boost::shared_ptr<Track> tr = boost::dynamic_pointer_cast<Track> ((*i)->route ());
|
||||
std::shared_ptr<Track> tr = std::dynamic_pointer_cast<Track> ((*i)->route ());
|
||||
if (tr) {
|
||||
tr->PlaylistChanged.connect (*this, invalidator (*this), boost::bind (&EditorSummary::set_background_dirty, this), gui_context ());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue