summaryrefslogtreecommitdiff
path: root/gtk2_ardour/location_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-05-04 23:09:37 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-04 23:09:45 -0400
commit17ace643e4edbec1e5bd7b446d039f8c94beef75 (patch)
treedfd1d426f61cdb8bb5dd7d0dc0114c8960b761e8 /gtk2_ardour/location_ui.cc
parent9b3b1d945f72324a5ee38b7053a54e9d257c41db (diff)
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r--gtk2_ardour/location_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc
index 1d54622c93..07ed9c41d8 100644
--- a/gtk2_ardour/location_ui.cc
+++ b/gtk2_ardour/location_ui.cc
@@ -1143,7 +1143,7 @@ LocationUI::clock_mode_from_session_instant_xml () const
return AudioClock::Frames;
}
- XMLProperty* p = node->property (X_("clock-mode"));
+ XMLProperty const * p = node->property (X_("clock-mode"));
if (!p) {
return ARDOUR_UI::instance()->secondary_clock->mode();
}