]> git.tdb.fi Git - builder.git/blobdiff - source/installedfile.h
Mark overridden virtual functions as such
[builder.git] / source / installedfile.h
index 9e886d580a00976672dcd125742adb5234643380..0dd671f42bf56c745d44d860bd2b6448fcbc41e2 100644 (file)
@@ -19,7 +19,7 @@ private:
        static Msp::FS::Path generate_target_path(const Msp::FS::Path &, const FileTarget &i, const std::string &);
 
 public:
-       virtual const char *get_type() const { return "InstalledFile"; }
+       const char *get_type() const override { return "InstalledFile"; }
        FileTarget &get_source() const { return source; }
 
        /** Sets a symlink for the file.  A relative path will be rooted at the
@@ -28,12 +28,12 @@ public:
 
        const Msp::FS::Path &get_symlink() const { return link; }
 
-       virtual Target *get_real_target();
+       Target *get_real_target() override;
 private:
-       virtual void check_rebuild();
+       void check_rebuild() override;
 
 public:
-       virtual void clean();
+       void clean() override;
 };
 
 #endif