summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-12-21 12:59:48 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-12-21 12:59:51 (GMT)
commit3ba57ddf895019b378ef0f20716e40e001d67f90 (patch)
treee538127ca2582c692a51056a263a5ec2d4254975 /Source/cmLocalVisualStudio10Generator.h
parentd0390f8be0a640942892b1dda114f472ff5e0218 (diff)
parentcfe4e2db1fd609fea5da355cd61e0b77e185f258 (diff)
downloadCMake-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.h10
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:
};