summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_selectable.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/automation_selectable.h')
-rw-r--r--gtk2_ardour/automation_selectable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_selectable.h b/gtk2_ardour/automation_selectable.h
index e7139bedf0..7a157d261c 100644
--- a/gtk2_ardour/automation_selectable.h
+++ b/gtk2_ardour/automation_selectable.h
@@ -31,9 +31,9 @@ struct AutomationSelectable : public Selectable
nframes_t end;
double low_fract;
double high_fract;
- TimeAxisView& track;
+ TimeAxisViewPtr track;
- AutomationSelectable (nframes_t s, nframes_t e, double l, double h, TimeAxisView& atv)
+ AutomationSelectable (nframes_t s, nframes_t e, double l, double h, TimeAxisViewPtr atv)
: start (s), end (e), low_fract (l), high_fract (h), track (atv) {}
bool operator== (const AutomationSelectable& other) {
@@ -41,7 +41,7 @@ struct AutomationSelectable : public Selectable
end == other.end &&
low_fract == other.low_fract &&
high_fract == other.high_fract &&
- &track == &other.track;
+ track == other.track;
}
};