Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wbrannon committed Oct 31, 2023
1 parent 9fadf27 commit 9bdf08b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/point_one/fusion_engine/messages/data_version.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include <cstdint>
#include <string>

#include "point_one/fusion_engine/common/portability.h"
Expand Down Expand Up @@ -42,7 +43,7 @@ struct P1_ALIGNAS(4) DataVersion {

#pragma pack(pop)

constexpr DataVersion INVALID_DATA_VERSION;
constexpr DataVersion INVALID_DATA_VERSION = DataVersion(0xFF, 0xFFFF);

inline constexpr bool operator==(const DataVersion& a, const DataVersion& b) {
return a.major_version == b.major_version &&
Expand Down

0 comments on commit 9bdf08b

Please sign in to comment.