diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2017-12-16 02:17:49 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2017-12-16 02:17:49 (GMT) |
commit | cfe4e2db1fd609fea5da355cd61e0b77e185f258 (patch) | |
tree | ddc608c1a0a5478220183e12c8abc65fb915f931 /Source/cmLocalVisualStudio7Generator.h | |
parent | f67f76c2b3a4c50d4116ce806df0c7f861e227dd (diff) | |
download | CMake-cfe4e2db1fd609fea5da355cd61e0b77e185f258.zip CMake-cfe4e2db1fd609fea5da355cd61e0b77e185f258.tar.gz CMake-cfe4e2db1fd609fea5da355cd61e0b77e185f258.tar.bz2 |
VS: Use 'override' keyword for overridden methods in generator classes
The corresponding 'virtual' removed.
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); |