cmGeneratorTarget: Constify the AddExplicitObjectName API.
The storage is already const.
This commit is contained in:
parent
bc51221164
commit
6132d979d9
|
@ -328,7 +328,7 @@ void cmGeneratorTarget::AddObject(cmSourceFile const* sf,
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmGeneratorTarget::AddExplicitObjectName(cmSourceFile* sf)
|
void cmGeneratorTarget::AddExplicitObjectName(cmSourceFile const* sf)
|
||||||
{
|
{
|
||||||
this->ExplicitObjectName.insert(sf);
|
this->ExplicitObjectName.insert(sf);
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ public:
|
||||||
|
|
||||||
void AddObject(cmSourceFile const* sf, std::string const&name);
|
void AddObject(cmSourceFile const* sf, std::string const&name);
|
||||||
bool HasExplicitObjectName(cmSourceFile const* file) const;
|
bool HasExplicitObjectName(cmSourceFile const* file) const;
|
||||||
void AddExplicitObjectName(cmSourceFile* sf);
|
void AddExplicitObjectName(cmSourceFile const* sf);
|
||||||
|
|
||||||
void GetResxSources(std::vector<cmSourceFile*>&) const;
|
void GetResxSources(std::vector<cmSourceFile*>&) const;
|
||||||
void GetIDLSources(std::vector<cmSourceFile*>&) const;
|
void GetIDLSources(std::vector<cmSourceFile*>&) const;
|
||||||
|
|
Loading…
Reference in New Issue