summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/automation_time_axis.h')
-rw-r--r--gtk2_ardour/automation_time_axis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/automation_time_axis.h b/gtk2_ardour/automation_time_axis.h
index 4be1a4c4d2..c298ac325b 100644
--- a/gtk2_ardour/automation_time_axis.h
+++ b/gtk2_ardour/automation_time_axis.h
@@ -105,8 +105,8 @@ class AutomationTimeAxisView : public TimeAxisView {
std::string state_id() const;
static bool parse_state_id (std::string const &, PBD::ID &, bool &, Evoral::Parameter &);
- boost::shared_ptr<ARDOUR::AutomationControl> control() { return _control; }
- boost::shared_ptr<AutomationController> controller() { return _controller; }
+ boost::shared_ptr<ARDOUR::AutomationControl> control() const { return _control; }
+ boost::shared_ptr<AutomationController> controller() const { return _controller; }
Evoral::Parameter parameter () const {
return _parameter;
}