Merge pull request #4244 from wwylele/swap-enum
common/swap: add swap template for enum
This commit is contained in:
@@ -235,7 +235,7 @@ private:
|
||||
struct SegmentEntry {
|
||||
u32_le offset;
|
||||
u32_le size;
|
||||
SegmentType type;
|
||||
enum_le<SegmentType> type;
|
||||
|
||||
static constexpr HeaderField TABLE_OFFSET_FIELD = SegmentTableOffset;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user