summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio9Generator.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2017-12-16 02:17:49 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2017-12-16 02:17:49 (GMT)
commitcfe4e2db1fd609fea5da355cd61e0b77e185f258 (patch)
treeddc608c1a0a5478220183e12c8abc65fb915f931 /Source/cmGlobalVisualStudio9Generator.h
parentf67f76c2b3a4c50d4116ce806df0c7f861e227dd (diff)
downloadCMake-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/cmGlobalVisualStudio9Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio9Generator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.h b/Source/cmGlobalVisualStudio9Generator.h
index fbc1f5d..37efb9c 100644
--- a/Source/cmGlobalVisualStudio9Generator.h
+++ b/Source/cmGlobalVisualStudio9Generator.h
@@ -21,23 +21,23 @@ public:
* Try to determine system information such as shared library
* extension, pthreads, byte order etc.
*/
- virtual void WriteSLNHeader(std::ostream& fout);
+ void WriteSLNHeader(std::ostream& fout) override;
/**
* Where does this version of Visual Studio look for macros for the
* current user? Returns the empty string if this version of Visual
* Studio does not implement support for VB macros.
*/
- virtual std::string GetUserMacrosDirectory();
+ std::string GetUserMacrosDirectory() override;
/**
* What is the reg key path to "vsmacros" for this version of Visual
* Studio?
*/
- virtual std::string GetUserMacrosRegKeyBase();
+ std::string GetUserMacrosRegKeyBase() override;
protected:
- virtual const char* GetIDEVersion() { return "9.0"; }
+ const char* GetIDEVersion() override { return "9.0"; }
private:
class Factory;
friend class Factory;