From 10441c819cb521ba7d571f726cc1901e630a0ad1 Mon Sep 17 00:00:00 2001 From: Odysseas Gabrielides Date: Wed, 15 May 2024 23:41:47 +0300 Subject: [PATCH] default impl --- grovedb/src/replication.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/grovedb/src/replication.rs b/grovedb/src/replication.rs index 2d425afd..8a0a8bc6 100644 --- a/grovedb/src/replication.rs +++ b/grovedb/src/replication.rs @@ -43,6 +43,12 @@ impl SubtreeStateSyncInfo<'_> { } } +impl Default for SubtreeStateSyncInfo<'_> { + fn default() -> Self { + Self::new() + } +} + // Struct governing state sync pub struct MultiStateSyncInfo<'db> { // Map of current processing subtrees