From: Amos Jeffries Date: Sat, 9 Feb 2013 05:16:04 +0000 (-0700) Subject: Polish: call maxObjectSze virtual in SwapDir. X-Git-Tag: SQUID_3_4_0_1~297 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9da3e5bed3d54f66b85d9e48486ffbeff063925;p=thirdparty%2Fsquid.git Polish: call maxObjectSze virtual in SwapDir. Say "virtual" explicitly in this case to remind us that maxObjectSize() is a part of the [semi-broken] Store API and not some SwapDir "own" method. This will help us when we polish the API to remove the common Store root. --- diff --git a/src/SwapDir.h b/src/SwapDir.h index b87b624e17..f779df8209 100644 --- a/src/SwapDir.h +++ b/src/SwapDir.h @@ -150,7 +150,7 @@ public: /// The maximum size of object which may be stored here. /// Larger objects will not be added and may be purged. - int64_t maxObjectSize() const; + virtual int64_t maxObjectSize() const; /// configure the maximum object size for this storage area. /// May be any size up to the total storage area.