diff options
author | Robin Gareus <robin@gareus.org> | 2017-02-24 12:59:07 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-02-24 16:10:14 +0100 |
commit | 89c02f4fd7718935391b8fb292bb1b4f3034635e (patch) | |
tree | 34093028c9f09f3e2c103df470226819e25222ba /gtk2_ardour/selection.cc | |
parent | 3780a9526e3eeafbde056df8038a4d9cda37216e (diff) |
the daily dose of const'ness
Diffstat (limited to 'gtk2_ardour/selection.cc')
-rw-r--r-- | gtk2_ardour/selection.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc index 6ed7a10434..be22b8737a 100644 --- a/gtk2_ardour/selection.cc +++ b/gtk2_ardour/selection.cc @@ -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(); } |