summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-19 06:17:02 +0000
committerDavid Robillard <d@drobilla.net>2013-01-19 06:17:02 +0000
commitd251c68d7676a18ab9ed935e22558e2b18981b41 (patch)
treef3948934f21a3a040cca74f06ddda7650d6a0413 /gtk2_ardour/automation_time_axis.cc
parent9b2dad56d12084e0c4665a1a6113194f6f63c0b4 (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.cc2
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 {