cmMakefile: Make IsAlias const.
This commit is contained in:
parent
36e31cd127
commit
8841d738cc
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue