Skip to content
Snippets Groups Projects
Commit be729652 authored by g0dil's avatar g0dil
Browse files

Packets: Implement missing Packet::valid()

parent 219ed994
No related branches found
No related tags found
No related merge requests found
......@@ -177,6 +177,12 @@ prefix_ bool senf::Packet::boolean_test()
return packet_ && packet_->valid();
}
prefix_ bool senf::Packet::valid()
const
{
return *this;
}
template <class PacketType, class Parser>
prefix_ Parser senf::operator<<(Parser target, ConcretePacket<PacketType> const & packet)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment