--------------------- PatchSet 133 Date: 2002/11/06 11:05:49 Author: rbcollins Branch: refcount Tag: (none) Log: allow class hierarchies to expose different pointer types whilst still refcounting Members: include/RefCount.h:1.1.2.2->1.1.2.3 Index: squid3/include/RefCount.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/include/RefCount.h,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- squid3/include/RefCount.h 6 Nov 2002 08:34:29 -0000 1.1.2.2 +++ squid3/include/RefCount.h 6 Nov 2002 11:05:49 -0000 1.1.2.3 @@ -1,6 +1,6 @@ /* - * $Id: RefCount.h,v 1.1.2.2 2002/11/06 08:34:29 rbcollins Exp $ + * $Id: RefCount.h,v 1.1.2.3 2002/11/06 11:05:49 rbcollins Exp $ * * DEBUG: section xx Refcount allocator * AUTHOR: Robert Collins @@ -79,8 +79,7 @@ RefCountable():count_(0){} virtual ~RefCountable(){} virtual void deleteSelf() = 0; -private: - friend class RefCount; + /* Not private, to allow class hierarchies */ unsigned count_; };