mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-11 15:29:28 -05:00
Merge pull request #287 from GullCode/ais_packet_warning_fix
Added missing default constructor
This commit is contained in:
commit
523877e0d1
@ -42,6 +42,7 @@ struct DateTime {
|
|||||||
|
|
||||||
template<size_t FieldSize, int32_t DegMax, uint32_t NAValue>
|
template<size_t FieldSize, int32_t DegMax, uint32_t NAValue>
|
||||||
struct LatLonBase {
|
struct LatLonBase {
|
||||||
|
|
||||||
constexpr LatLonBase(
|
constexpr LatLonBase(
|
||||||
) : LatLonBase { raw_not_available }
|
) : LatLonBase { raw_not_available }
|
||||||
{
|
{
|
||||||
@ -59,6 +60,8 @@ struct LatLonBase {
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LatLonBase& operator=( const LatLonBase &)=default;
|
||||||
|
|
||||||
int32_t normalized() const {
|
int32_t normalized() const {
|
||||||
return static_cast<int32_t>(raw() << sign_extend_shift) / (1 << sign_extend_shift);
|
return static_cast<int32_t>(raw() << sign_extend_shift) / (1 << sign_extend_shift);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user