patch-gtk2_ardour_automation_selectable_h 709 B

12345678910111213141516
  1. $OpenBSD: patch-gtk2_ardour_automation_selectable_h,v 1.1 2017/05/25 09:02:05 espie Exp $
  2. const correct for libc++ stl
  3. Index: gtk2_ardour/automation_selectable.h
  4. --- gtk2_ardour/automation_selectable.h.orig
  5. +++ gtk2_ardour/automation_selectable.h
  6. @@ -36,7 +36,7 @@ struct AutomationSelectable : public Selectable
  7. AutomationSelectable (nframes_t s, nframes_t e, double l, double h, TimeAxisView& atv)
  8. : start (s), end (e), low_fract (l), high_fract (h), track (atv) {}
  9. - bool operator== (const AutomationSelectable& other) {
  10. + bool operator== (const AutomationSelectable& other) const {
  11. return start == other.start &&
  12. end == other.end &&
  13. low_fract == other.low_fract &&