mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 19:25:52 +08:00
Fix merge conflict on missing struct VersionedMutation
This commit is contained in:
parent
a0d67cac16
commit
b506ff3af9
@ -38,6 +38,22 @@
|
||||
#define SevFRMutationInfo SevVerbose
|
||||
//#define SevFRMutationInfo SevInfo
|
||||
|
||||
struct VersionedMutation {
|
||||
MutationRef mutation;
|
||||
LogMessageVersion version;
|
||||
|
||||
VersionedMutation() = default;
|
||||
explicit VersionedMutation(MutationRef mutation, LogMessageVersion version)
|
||||
: mutation(mutation), version(version) {}
|
||||
explicit VersionedMutation(Arena& arena, const VersionedMutation& vm)
|
||||
: mutation(arena, vm.mutation), version(vm.version) {}
|
||||
|
||||
template <class Ar>
|
||||
void serialize(Ar& ar) {
|
||||
serializer(ar, mutation, version);
|
||||
}
|
||||
};
|
||||
|
||||
using MutationsVec = Standalone<VectorRef<MutationRef>>;
|
||||
using LogMessageVersionVec = Standalone<VectorRef<LogMessageVersion>>;
|
||||
using VersionedMutationsVec = Standalone<VectorRef<VersionedMutation>>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user