On 8/12/2011 6:33 p.m., kzl wrote:
Hi Amos,
As refer to http://bugs.squid-cache.org/show_bug.cgi?id=3440 , how to change StoreEntry::deferProducer not to be const?
I'd tried just remove "const" word in the line, it shows:
store.cc:372: error: prototype for `void StoreEntry::deferProducer(RefCount<AsyncCall>&)' does not match any in class `StoreEntry'
Store.h:194: error: candidate is: void StoreEntry::deferProducer(const RefCount<AsyncCall>&)
*** Error code 1
cheers,
kz
This is the patch that went on top of 3.1.18:
http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10415.patch
Amos