From: Amos Jeffries Date: Sun, 24 Jul 2016 06:30:24 +0000 (+1200) Subject: Fix clang 'smpAware' overrides a member function but is not marked 'override' X-Git-Tag: SQUID_4_0_13~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f62759c58e836c7de131869bb1340ec5db4f8a14;p=thirdparty%2Fsquid.git Fix clang 'smpAware' overrides a member function but is not marked 'override' --- diff --git a/src/store/Disk.h b/src/store/Disk.h index d937dbbc40..be8c3ee082 100644 --- a/src/store/Disk.h +++ b/src/store/Disk.h @@ -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;