From 17ace643e4edbec1e5bd7b446d039f8c94beef75 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 4 May 2016 23:09:37 -0400 Subject: OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one) --- libs/ardour/scene_change.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/scene_change.cc') diff --git a/libs/ardour/scene_change.cc b/libs/ardour/scene_change.cc index aed899565f..dcf83951cd 100644 --- a/libs/ardour/scene_change.cc +++ b/libs/ardour/scene_change.cc @@ -30,7 +30,7 @@ const uint32_t SceneChange::out_of_bound_color = 0x00000000; /* note: zero alpha boost::shared_ptr SceneChange::factory (const XMLNode& node, int version) { - const XMLProperty* prop = node.property (X_("type")); + XMLProperty const * prop = node.property (X_("type")); if (prop->value() == X_("MIDI")) { return boost::shared_ptr (new MIDISceneChange (node, version)); -- cgit v1.2.3