Common/Network: Use member initializer list

This commit is contained in:
Sepalani
2022-07-10 12:31:59 +04:00
parent 13957a627c
commit b7bd2a4001
2 changed files with 13 additions and 16 deletions

View File

@ -47,6 +47,7 @@ struct EthernetHeader
{
EthernetHeader();
explicit EthernetHeader(u16 ether_type);
EthernetHeader(const MACAddress& dest, const MACAddress& src, u16 ether_type);
u16 Size() const;
static constexpr std::size_t SIZE = 14;