using namespace std;
-TrackSelection::TrackSelection (list<TimeAxisView*> const &t)
- : list<TimeAxisView*> (t)
+TrackSelection::TrackSelection (list<TimeAxisViewPtr> const &t)
+ : list<TimeAxisViewPtr> (t)
{
}
-list<TimeAxisView*>
-TrackSelection::add (list<TimeAxisView*> const & t)
+list<TimeAxisViewPtr>
+TrackSelection::add (list<TimeAxisViewPtr> const & t)
{
- list<TimeAxisView*> added;
+ list<TimeAxisViewPtr> added;
for (TrackSelection::const_iterator i = t.begin(); i != t.end(); ++i) {
if (!contains (*i)) {
}
bool
-TrackSelection::contains (TimeAxisView const * t) const
+TrackSelection::contains (TimeAxisViewConstPtr t) const
{
return find (begin(), end(), t) != end();
}