Build: add GCC-13, Clang-14, Clang-15, Clang-16, Clang-17
[marnav.git] / src / marnav / ais / message_02.cpp
blob2de419d4254558b9c4471a42a12ca1fba3b99da9
1 #include <marnav/ais/message_02.hpp>
3 namespace marnav::ais
5 constexpr message_id message_02::ID;
7 message_02::message_02()
8 : message_01(ID)
12 message_02::message_02(const raw & bits)
13 : message_01(ID)
15 if (bits.size() != SIZE_BITS)
16 throw std::invalid_argument{"invalid number of bits in ais/message_02"};
17 read_data(bits);