mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 20:44:26 +01:00
Removed copy constructor from several PDUs.
This commit is contained in:
@@ -34,6 +34,12 @@ Tins::PDU::PDU(const PDU &other) : _inner_pdu(0) {
|
||||
copy_inner_pdu(other);
|
||||
}
|
||||
|
||||
Tins::PDU &Tins::PDU::operator=(const PDU &other) {
|
||||
_flag = other.flag();
|
||||
copy_inner_pdu(other);
|
||||
return *this;
|
||||
}
|
||||
|
||||
Tins::PDU::~PDU() {
|
||||
delete _inner_pdu;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user