diff options
Diffstat (limited to 'src/dev/etherpkt.hh')
-rw-r--r-- | src/dev/etherpkt.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dev/etherpkt.hh b/src/dev/etherpkt.hh index c71d9cc30..16576d329 100644 --- a/src/dev/etherpkt.hh +++ b/src/dev/etherpkt.hh @@ -40,14 +40,13 @@ #include <iosfwd> #include <memory> -#include "base/refcnt.hh" #include "base/types.hh" /* * Reference counted class containing ethernet packet data */ class Checkpoint; -class EthPacketData : public RefCounted +class EthPacketData { public: /* @@ -81,6 +80,6 @@ class EthPacketData : public RefCounted const std::string §ion); }; -typedef RefCountingPtr<EthPacketData> EthPacketPtr; +typedef std::shared_ptr<EthPacketData> EthPacketPtr; #endif // __ETHERPKT_HH__ |