]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/store/Disk.h
Maintenance: Consistent use of C++11 "override" specifier (#1224)
[thirdparty/squid.git] / src / store / Disk.h
index ff7e1c82f47acd01d3a46a4c062ec75e9638c8bd..daadfc3bed1e447b2b3177478823f5d51ecf4ba9 100644 (file)
@@ -25,7 +25,7 @@ public:
     typedef RefCount<Disk> Pointer;
 
     explicit Disk(char const *aType);
-    virtual ~Disk();
+    ~Disk() override;
     virtual void reconfigure() = 0;
     char const *type() const;
 
@@ -43,16 +43,16 @@ public:
     virtual void diskFull();
 
     /* Controlled API */
-    virtual void create() override;
-    virtual StoreEntry *get(const cache_key *) override;
-    virtual uint64_t maxSize() const override { return max_size; }
-    virtual uint64_t minSize() const override;
-    virtual int64_t maxObjectSize() const override;
-    virtual void getStats(StoreInfoStats &stats) const override;
-    virtual void stat(StoreEntry &) const override;
-    virtual void reference(StoreEntry &e) override;
-    virtual bool dereference(StoreEntry &e) override;
-    virtual void maintain() override;
+    void create() override;
+    StoreEntry *get(const cache_key *) override;
+    uint64_t maxSize() const override { return max_size; }
+    uint64_t minSize() const override;
+    int64_t maxObjectSize() const override;
+    void getStats(StoreInfoStats &stats) const override;
+    void stat(StoreEntry &) const override;
+    void reference(StoreEntry &e) override;
+    bool dereference(StoreEntry &e) override;
+    void maintain() override;
     /// whether this disk storage is capable of serving multiple workers
     virtual bool smpAware() const = 0;