Use more conventional field order in Mutation
This commit is contained in:
@@ -14,9 +14,9 @@ void monotonicallyIncreasing() {
|
||||
const int64_t remove = __builtin_bswap64(facade.getVersion() - kWindow);
|
||||
const int64_t next = __builtin_bswap64(facade.getVersion());
|
||||
weaselab::VersionedMap::Mutation mutations[] = {
|
||||
{(const uint8_t *)&remove, nullptr, 8, 0,
|
||||
{(const uint8_t *)&remove, 8, nullptr, 0,
|
||||
weaselab::VersionedMap::Clear},
|
||||
{(const uint8_t *)&next, (const uint8_t *)&next, 8, 8,
|
||||
{(const uint8_t *)&next, 8, (const uint8_t *)&next, 8,
|
||||
weaselab::VersionedMap::Set},
|
||||
};
|
||||
facade.addMutations(mutations, sizeof(mutations) / sizeof(mutations[0]),
|
||||
|
Reference in New Issue
Block a user