diff options
Diffstat (limited to 'view/sharedcache/core/MetadataSerializable.cpp')
| -rw-r--r-- | view/sharedcache/core/MetadataSerializable.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/view/sharedcache/core/MetadataSerializable.cpp b/view/sharedcache/core/MetadataSerializable.cpp index 66a090c8..312b7390 100644 --- a/view/sharedcache/core/MetadataSerializable.cpp +++ b/view/sharedcache/core/MetadataSerializable.cpp @@ -47,6 +47,11 @@ void Serialize(SerializationContext& context, uint64_t value) { context.writer.Uint64(value); } +void Serialize(SerializationContext& context, unsigned long value) +{ + context.writer.Uint64(value); +} + void Deserialize(DeserializationContext& context, std::string_view name, bool& b) { b = context.doc[name.data()].GetBool(); } |
