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