diff options
Diffstat (limited to 'src/dev')
-rw-r--r-- | src/dev/etherpkt.hh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dev/etherpkt.hh b/src/dev/etherpkt.hh index 16576d329..febd303a1 100644 --- a/src/dev/etherpkt.hh +++ b/src/dev/etherpkt.hh @@ -68,10 +68,6 @@ class EthPacketData : data(new uint8_t[size]), length(0) { } - EthPacketData(std::auto_ptr<uint8_t> d, int l) - : data(d.release()), length(l) - { } - ~EthPacketData() { if (data) delete [] data; } public: |