]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix clang 'smpAware' overrides a member function but is not marked 'override'
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 24 Jul 2016 06:30:24 +0000 (18:30 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 24 Jul 2016 06:30:24 +0000 (18:30 +1200)
src/store/Disk.h

index d937dbbc407959c0dd290876a3e4347ba9e30e65..be8c3ee082f3ceac7922381c3863356feafec473 100644 (file)
@@ -53,6 +53,7 @@ public:
     virtual void reference(StoreEntry &e) override;
     virtual bool dereference(StoreEntry &e) override;
     virtual void maintain() override;
+    virtual bool smpAware() const override { return false; }
 
     /// the size of the smallest entry this cache_dir can store
     int64_t minObjectSize() const;
@@ -71,8 +72,6 @@ public:
     /// called when entry swap out is complete
     virtual void swappedOut(const StoreEntry &e) = 0;
 
-    virtual bool smpAware() const { return false; }
-
 protected:
     void parseOptions(int reconfiguring);
     void dumpOptions(StoreEntry * e) const;