summaryrefslogtreecommitdiff
path: root/libs/ardour/element_importer.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/element_importer.cc
parent9b3b1d945f72324a5ee38b7053a54e9d257c41db (diff)
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
Diffstat (limited to 'libs/ardour/element_importer.cc')
-rw-r--r--libs/ardour/element_importer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/element_importer.cc b/libs/ardour/element_importer.cc
index 4f635f1693..d1a67da2c4 100644
--- a/libs/ardour/element_importer.cc
+++ b/libs/ardour/element_importer.cc
@@ -42,7 +42,7 @@ ElementImporter::ElementImporter (XMLTree const & source, ARDOUR::Session & sess
_broken (false)
{
// Get samplerate
- XMLProperty *prop;
+ XMLProperty const * prop;
prop = source.root()->property ("sample-rate");
if (prop) {
std::istringstream iss (prop->value());