Make sure types in ABI are standard layout
This commit is contained in:
1 parent
f58409c21b
commit
beabb8c690
2 files changed
+13
-2
No files matched your search
@@ -104,7 +104,12 @@ struct VersionedMap {
|
||||
Iterator(Iterator &&) noexcept;
|
||||
Iterator &operator=(Iterator &&) noexcept;
|
||||
|
||||
struct VersionedMutation : Mutation {
|
||||
struct VersionedMutation {
|
||||
const uint8_t *param1;
|
||||
const uint8_t *param2;
|
||||
int param1Len;
|
||||
int param2Len;
|
||||
MutationType type;
|
||||
int64_t version;
|
||||
};
|
||||
|
||||
@@ -122,7 +127,7 @@ struct VersionedMap {
|
||||
Iterator operator--(int);
|
||||
|
||||
using difference_type = ptrdiff_t;
|
||||
using value_type = Mutation;
|
||||
using value_type = VersionedMutation;
|
||||
|
||||
bool operator==(const Iterator &) const;
|
||||
bool operator!=(const Iterator &) const;
|
||||
|
||||
Reference in new issue
Block a user