summaryrefslogtreecommitdiff
path: root/libs/ardour/processor.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/processor.cc
parent9b3b1d945f72324a5ee38b7053a54e9d257c41db (diff)
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
Diffstat (limited to 'libs/ardour/processor.cc')
-rw-r--r--libs/ardour/processor.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc
index d3ffe152cb..f13edb5165 100644
--- a/libs/ardour/processor.cc
+++ b/libs/ardour/processor.cc
@@ -180,8 +180,8 @@ Processor::set_state (const XMLNode& node, int version)
return set_state_2X (node, version);
}
- const XMLProperty *prop;
- const XMLProperty *legacy_active = 0;
+ XMLProperty const * prop;
+ XMLProperty const * legacy_active = 0;
bool leave_name_alone = (node.property ("ignore-name") != 0);
if (!leave_name_alone) {
@@ -205,7 +205,7 @@ Processor::set_state (const XMLNode& node, int version)
if ((*niter)->name() == X_("Automation")) {
- XMLProperty *prop;
+ XMLProperty const * prop;
if ((prop = (*niter)->property ("path")) != 0) {
old_set_automation_state (*(*niter));