Constify XCode generator getters to match cmGlobalGenerator

Commit 8a0eb78f (Constify many getters of cmGlobalGenerator, 2011-03-26)
added const qualifiers to many cmGlobalGenerator methods.  Fix the
signature of the virtual function overrides in cmGlobalXCodeGenerator to
match.
This commit is contained in:
Brad King 2011-10-07 08:22:05 -04:00
parent fec4b63714
commit 029ab3102e
1 changed files with 2 additions and 2 deletions

View File

@ -194,8 +194,8 @@ private:
void AppendFlag(std::string& flags, std::string const& flag);
protected:
virtual const char* GetInstallTargetName() { return "install"; }
virtual const char* GetPackageTargetName() { return "package"; }
virtual const char* GetInstallTargetName() const { return "install"; }
virtual const char* GetPackageTargetName() const { return "package"; }
unsigned int XcodeVersion;
std::string VersionString;