mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
cmTarget: Remove mutable marker from properties
This commit is contained in:
@@ -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();
|
||||
|
||||
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user