mirror of
https://github.com/mfontanini/libtins
synced 2026-01-26 20:01:35 +01:00
Added malformed_packet exception. Every class except Dot11* use it.
This commit is contained in:
@@ -39,13 +39,13 @@ PDU::PDU(PDU *next_pdu) : _inner_pdu(next_pdu) {
|
||||
}
|
||||
|
||||
#if TINS_IS_CXX11
|
||||
PDU::PDU(PDU &&rhs)
|
||||
PDU::PDU(PDU &&rhs) noexcept
|
||||
: _inner_pdu(0)
|
||||
{
|
||||
std::swap(_inner_pdu, rhs._inner_pdu);
|
||||
}
|
||||
|
||||
PDU& PDU::operator=(PDU &&rhs) {
|
||||
PDU& PDU::operator=(PDU &&rhs) noexcept {
|
||||
std::swap(_inner_pdu, rhs._inner_pdu);
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user