|
@@ -120,7 +120,7 @@ std::string PeekPropertyName(const Element& element)
|
|
} //! anon
|
|
} //! anon
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
// ------------------------------------------------------------------------------------------------
|
|
-PropertyTable::PropertyTable(const Element& element, PropertyTable* templateProps)
|
|
|
|
|
|
+PropertyTable::PropertyTable(const Element& element, const PropertyTable* templateProps)
|
|
: element(element)
|
|
: element(element)
|
|
, templateProps(templateProps)
|
|
, templateProps(templateProps)
|
|
{
|
|
{
|
|
@@ -156,7 +156,7 @@ PropertyTable::~PropertyTable()
|
|
}
|
|
}
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
// ------------------------------------------------------------------------------------------------
|
|
-const Property* PropertyTable::Get(const std::string& name)
|
|
|
|
|
|
+const Property* PropertyTable::Get(const std::string& name) const
|
|
{
|
|
{
|
|
PropertyMap::const_iterator it = props.find(name);
|
|
PropertyMap::const_iterator it = props.find(name);
|
|
if (it == props.end()) {
|
|
if (it == props.end()) {
|