Skip to content

Commit 8998a7d

Browse files
committed
REF: Rename dummy fields to reserved
1 parent 3d584f9 commit 8998a7d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
### Breaking changes
99
- Changed default `upgrade_policy` to `Upgrade` so by default the primary record types
1010
can always be used
11+
- Renamed `dummy` field in `ImbalanceMsg` and `StatMsg` to `reserved`
1112

1213
### Bug fixes
1314
- Added missing `StatType::Vwap` variant used in the ICE datasets

include/databento/record.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ struct ImbalanceMsg {
299299
Side unpaired_side;
300300
char significant_imbalance;
301301
// padding for alignment
302-
std::array<char, 1> dummy;
302+
std::array<char, 1> reserved;
303303
};
304304
static_assert(sizeof(ImbalanceMsg) == 112, "ImbalanceMsg size must match Rust");
305305
static_assert(alignof(ImbalanceMsg) == 8, "Must have 8-byte alignment");
@@ -323,7 +323,7 @@ struct StatMsg {
323323
std::uint16_t channel_id;
324324
StatUpdateAction update_action;
325325
std::uint8_t stat_flags;
326-
std::array<char, 6> dummy;
326+
std::array<char, 6> reserved;
327327
};
328328
static_assert(sizeof(StatMsg) == 64, "StatMsg size must match Rust");
329329
static_assert(alignof(StatMsg) == 8, "Must have 8-byte alignment");

0 commit comments

Comments
 (0)