cmMakefile: Make IsAlias const.

This commit is contained in:
Stephen Kelly 2013-11-19 11:32:30 +01:00
parent 36e31cd127
commit 8841d738cc
2 changed files with 2 additions and 2 deletions

View File

@ -1981,7 +1981,7 @@ void cmGlobalGenerator::AddAlias(const char *name, cmTarget *tgt)
}
//----------------------------------------------------------------------------
bool cmGlobalGenerator::IsAlias(const char *name)
bool cmGlobalGenerator::IsAlias(const char *name) const
{
return this->AliasTargets.find(name) != this->AliasTargets.end();
}

View File

@ -210,7 +210,7 @@ public:
bool excludeAliases = false);
void AddAlias(const char *name, cmTarget *tgt);
bool IsAlias(const char *name);
bool IsAlias(const char *name) const;
/** Determine if a name resolves to a framework on disk or a built target
that is a framework. */