diff options
author | Brad King <brad.king@kitware.com> | 2011-10-07 12:22:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-10-07 12:22:05 (GMT) |
commit | 029ab3102e9aa21b4d3bc0471884e8c877bf5c9e (patch) | |
tree | 33e29a4249f04b358ad73089cc656d2f561c9b48 /Source/cmGlobalXCodeGenerator.h | |
parent | fec4b637148bf6dca4b1d532ad0c1332c3038ea8 (diff) | |
download | CMake-029ab3102e9aa21b4d3bc0471884e8c877bf5c9e.zip CMake-029ab3102e9aa21b4d3bc0471884e8c877bf5c9e.tar.gz CMake-029ab3102e9aa21b4d3bc0471884e8c877bf5c9e.tar.bz2 |
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.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index fa55ff0..ed54be3 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -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; |