Browse Source

clang-tidy: fix `modernize-use-override` lints

Ben Boeckel 2 years ago
parent
commit
e98088ef75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmGlobalXCodeGenerator.h

+ 1 - 1
Source/cmGlobalXCodeGenerator.h

@@ -120,7 +120,7 @@ public:
    * Used to determine if this generator supports DEPFILE option.
    */
   bool SupportsCustomCommandDepfile() const override { return true; }
-  virtual cm::optional<cmDepfileFormat> DepfileFormat() const override
+  cm::optional<cmDepfileFormat> DepfileFormat() const override
   {
     return this->XcodeBuildSystem == BuildSystem::One
       ? cmDepfileFormat::MakeDepfile