the daily dose of const'ness
This commit is contained in:
@@ -1011,25 +1011,25 @@ Selection::set (boost::shared_ptr<Evoral::ControlList> ac)
|
||||
}
|
||||
|
||||
bool
|
||||
Selection::selected (ArdourMarker* m)
|
||||
Selection::selected (ArdourMarker* m) const
|
||||
{
|
||||
return find (markers.begin(), markers.end(), m) != markers.end();
|
||||
}
|
||||
|
||||
bool
|
||||
Selection::selected (TimeAxisView* tv)
|
||||
Selection::selected (TimeAxisView* tv) const
|
||||
{
|
||||
return tv->selected ();
|
||||
}
|
||||
|
||||
bool
|
||||
Selection::selected (RegionView* rv)
|
||||
Selection::selected (RegionView* rv) const
|
||||
{
|
||||
return find (regions.begin(), regions.end(), rv) != regions.end();
|
||||
}
|
||||
|
||||
bool
|
||||
Selection::selected (ControlPoint* cp)
|
||||
Selection::selected (ControlPoint* cp) const
|
||||
{
|
||||
return find (points.begin(), points.end(), cp) != points.end();
|
||||
}
|
||||
|
||||
@@ -113,10 +113,10 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList
|
||||
|
||||
void dump_region_layers();
|
||||
|
||||
bool selected (TimeAxisView*);
|
||||
bool selected (RegionView*);
|
||||
bool selected (ArdourMarker*);
|
||||
bool selected (ControlPoint*);
|
||||
bool selected (TimeAxisView*) const;
|
||||
bool selected (RegionView*) const;
|
||||
bool selected (ArdourMarker*) const;
|
||||
bool selected (ControlPoint*) const;
|
||||
|
||||
void set (std::list<Selectable*> const &);
|
||||
void add (std::list<Selectable*> const &);
|
||||
|
||||
Reference in New Issue
Block a user