diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 18:44:51 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 17:39:29 (GMT) |
commit | 27e37b8a5a661c7c6ea700d6b3e535cf4a582277 (patch) | |
tree | 69e77e3fa760814cf3842f3c19b4c695ba6aabd2 /Source/cmGlobalMSYSMakefileGenerator.h | |
parent | 83d685ee1bfb58ee53aee9e94595ff3ed4e44096 (diff) | |
download | CMake-27e37b8a5a661c7c6ea700d6b3e535cf4a582277.zip CMake-27e37b8a5a661c7c6ea700d6b3e535cf4a582277.tar.gz CMake-27e37b8a5a661c7c6ea700d6b3e535cf4a582277.tar.bz2 |
clang-tidy: fix `modernize-use-override` lints
Diffstat (limited to 'Source/cmGlobalMSYSMakefileGenerator.h')
-rw-r--r-- | Source/cmGlobalMSYSMakefileGenerator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalMSYSMakefileGenerator.h b/Source/cmGlobalMSYSMakefileGenerator.h index a8516a4..ee9a4ee 100644 --- a/Source/cmGlobalMSYSMakefileGenerator.h +++ b/Source/cmGlobalMSYSMakefileGenerator.h @@ -28,7 +28,7 @@ public: } //! Get the name for the generator. - virtual std::string GetName() const + std::string GetName() const override { return cmGlobalMSYSMakefileGenerator::GetActualName(); } @@ -41,8 +41,8 @@ public: * Try to determine system information such as shared library * extension, pthreads, byte order etc. */ - virtual void EnableLanguage(std::vector<std::string> const& languages, - cmMakefile*, bool optional); + void EnableLanguage(std::vector<std::string> const& languages, cmMakefile*, + bool optional) override; private: std::string FindMinGW(std::string const& makeloc); |