diff options
author | David Robillard <d@drobilla.net> | 2013-01-19 06:17:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-19 06:17:02 +0000 |
commit | d251c68d7676a18ab9ed935e22558e2b18981b41 (patch) | |
tree | f3948934f21a3a040cca74f06ddda7650d6a0413 /gtk2_ardour/automation_time_axis.cc | |
parent | 9b2dad56d12084e0c4665a1a6113194f6f63c0b4 (diff) |
Avoid some copy overhead and sprinkle in some const for good measure.
git-svn-id: svn://localhost/ardour2/branches/3.0@13891 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index bfc0ce4440..8b090cf001 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -146,7 +146,7 @@ AutomationTimeAxisView::AutomationTimeAxisView ( ARDOUR_UI::instance()->set_tip(auto_button, _("automation state")); ARDOUR_UI::instance()->set_tip(hide_button, _("hide track")); - string str = gui_property ("height"); + const string str = gui_property ("height"); if (!str.empty()) { set_height (atoi (str)); } else { |