summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/xml++.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/xml++.h')
-rw-r--r--libs/pbd/pbd/xml++.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/pbd/pbd/xml++.h b/libs/pbd/pbd/xml++.h
index 1f8b710f3f..f0956edd25 100644
--- a/libs/pbd/pbd/xml++.h
+++ b/libs/pbd/pbd/xml++.h
@@ -117,10 +117,10 @@ public:
std::string attribute_value();
const XMLPropertyList& properties() const { return _proplist; }
- XMLProperty* property(const char*);
- XMLProperty* property(const std::string&);
- const XMLProperty* property(const char* n) const { return const_cast<XMLNode*>(this)->property(n); }
- const XMLProperty* property(const std::string& n) const { return const_cast<XMLNode*>(this)->property(n); }
+ XMLProperty const * property(const char*) const;
+ XMLProperty const * property(const std::string&) const;
+ XMLProperty * property(const char*);
+ XMLProperty * property(const std::string&);
bool has_property_with_value (const std::string&, const std::string&) const;