1.1 --- a/src/common/packet.h Tue Nov 10 07:45:32 2009 +0100
1.2 +++ b/src/common/packet.h Thu Nov 12 13:01:01 2009 +0100
1.3 @@ -198,12 +198,9 @@
1.4 * The performance aspects of the Packet API are discussed in
1.5 * \ref packetperf
1.6 */
1.7 -class Packet
1.8 +class Packet : public SimpleRefCount<Packet>
1.9 {
1.10 public:
1.11 - void Ref (void) const;
1.12 - void Unref (void) const;
1.13 -
1.14 Ptr<Packet> Copy (void) const;
1.15
1.16 /**
1.17 @@ -540,7 +537,6 @@
1.18 /* Please see comments above about nix-vector */
1.19 Ptr<NixVector> m_nixVector;
1.20
1.21 - mutable uint32_t m_refCount;
1.22 static uint32_t m_globalUid;
1.23 };
1.24