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/cmLocalVisualStudio10Generator.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/cmLocalVisualStudio10Generator.h')
-rw-r--r-- | Source/cmLocalVisualStudio10Generator.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.h b/Source/cmLocalVisualStudio10Generator.h index 4cd56dd..bcdc307 100644 --- a/Source/cmLocalVisualStudio10Generator.h +++ b/Source/cmLocalVisualStudio10Generator.h @@ -29,13 +29,13 @@ public: /** * Generate the makefile for this directory. */ - virtual void Generate(); - virtual void ReadAndStoreExternalGUID(const std::string& name, - const char* path); + void Generate() override; + void ReadAndStoreExternalGUID(const std::string& name, + const char* path) override; protected: - virtual const char* ReportErrorLabel() const; - virtual bool CustomCommandUseLocal() const { return true; } + const char* ReportErrorLabel() const override; + bool CustomCommandUseLocal() const override { return true; } private: }; |