diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-09 17:58:13 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-09 17:58:13 +0000 |
commit | 402cc384ced6cb152c8abe4294009fe0de0a6dea (patch) | |
tree | f01db6b412cb8e2d3c69fa123fd615c229ee47d3 /gtk2_ardour/track_selection.cc | |
parent | cc351b97a986fca48a6b3b631a292bf24efc5e41 (diff) |
Back out big shared_ptr change. Moving to a branch. Apologies all.
git-svn-id: svn://localhost/ardour2/branches/3.0@5343 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/track_selection.cc')
-rwxr-xr-x | gtk2_ardour/track_selection.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/track_selection.cc b/gtk2_ardour/track_selection.cc index fd73d97699..d9c7f02e19 100755 --- a/gtk2_ardour/track_selection.cc +++ b/gtk2_ardour/track_selection.cc @@ -3,16 +3,16 @@ using namespace std; -TrackSelection::TrackSelection (list<TimeAxisViewPtr> const &t) - : list<TimeAxisViewPtr> (t) +TrackSelection::TrackSelection (list<TimeAxisView*> const &t) + : list<TimeAxisView*> (t) { } -list<TimeAxisViewPtr> -TrackSelection::add (list<TimeAxisViewPtr> const & t) +list<TimeAxisView*> +TrackSelection::add (list<TimeAxisView*> const & t) { - list<TimeAxisViewPtr> added; + list<TimeAxisView*> added; for (TrackSelection::const_iterator i = t.begin(); i != t.end(); ++i) { if (!contains (*i)) { @@ -25,7 +25,7 @@ TrackSelection::add (list<TimeAxisViewPtr> const & t) } bool -TrackSelection::contains (TimeAxisViewConstPtr t) const +TrackSelection::contains (TimeAxisView const * t) const { return find (begin(), end(), t) != end(); } |