mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 10:39:28 -05:00
cmMakefile: Make IsAlias const.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user