diff options
author | Brad King <brad.king@kitware.com> | 2017-12-21 12:59:48 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-12-21 12:59:51 (GMT) |
commit | 3ba57ddf895019b378ef0f20716e40e001d67f90 (patch) | |
tree | e538127ca2582c692a51056a263a5ec2d4254975 /Source/cmLocalVisualStudio7Generator.h | |
parent | d0390f8be0a640942892b1dda114f472ff5e0218 (diff) | |
parent | cfe4e2db1fd609fea5da355cd61e0b77e185f258 (diff) | |
download | CMake-3ba57ddf895019b378ef0f20716e40e001d67f90.zip CMake-3ba57ddf895019b378ef0f20716e40e001d67f90.tar.gz CMake-3ba57ddf895019b378ef0f20716e40e001d67f90.tar.bz2 |
Merge topic 'use-override'
cfe4e2db VS: Use 'override' keyword for overridden methods in generator classes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1601
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.h')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.h b/Source/cmLocalVisualStudio7Generator.h index 48f2e1a..02e6931 100644 --- a/Source/cmLocalVisualStudio7Generator.h +++ b/Source/cmLocalVisualStudio7Generator.h @@ -35,12 +35,12 @@ public: virtual ~cmLocalVisualStudio7Generator(); - virtual void AddHelperCommands(); + void AddHelperCommands() override; /** * Generate the makefile for this directory. */ - virtual void Generate(); + void Generate() override; enum BuildType { @@ -56,12 +56,12 @@ public: */ void SetBuildType(BuildType, const std::string& name); - virtual std::string GetTargetDirectory( - cmGeneratorTarget const* target) const; + std::string GetTargetDirectory( + cmGeneratorTarget const* target) const override; cmSourceFile* CreateVCProjBuildRule(); void WriteStampFiles(); - virtual std::string ComputeLongestObjectDirectory( - cmGeneratorTarget const*) const; + std::string ComputeLongestObjectDirectory( + cmGeneratorTarget const*) const override; virtual void ReadAndStoreExternalGUID(const std::string& name, const char* path); |