Commit 60b3f216 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmTarget: Remove mutable marker from properties

parent aaa5dbbf
......@@ -3950,7 +3950,7 @@ void cmGeneratorTarget::ComputeVersionedName(std::string& vName,
std::vector<std::string> cmGeneratorTarget::GetPropertyKeys() const
{
cmPropertyMap propsObject = this->Target->GetProperties();
cmPropertyMap const& propsObject = this->Target->GetProperties();
std::vector<std::string> props;
props.reserve(propsObject.size());
for (cmPropertyMap::const_iterator it = propsObject.begin();
......
......@@ -208,7 +208,7 @@ public:
}
// Get the properties
cmPropertyMap& GetProperties() const { return this->Properties; }
cmPropertyMap const& GetProperties() const { return this->Properties; }
bool GetMappedConfig(std::string const& desired_config, const char** loc,
const char** imp, std::string& suffix) const;
......@@ -282,7 +282,7 @@ private:
bool implib) const;
private:
mutable cmPropertyMap Properties;
cmPropertyMap Properties;
std::set<std::string> SystemIncludeDirectories;
std::set<std::string> LinkDirectoriesEmmitted;
std::set<std::string> Utilities;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment