summaryrefslogtreecommitdiff
path: root/libs/ardour/scene_change.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 /libs/ardour/scene_change.cc
parent9b3b1d945f72324a5ee38b7053a54e9d257c41db (diff)
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
Diffstat (limited to 'libs/ardour/scene_change.cc')
-rw-r--r--libs/ardour/scene_change.cc2
1 files changed, 1 insertions, 1 deletions
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>
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<SceneChange> (new MIDISceneChange (node, version));