aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/serializer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/serializer.h b/common/serializer.h
index ef8fca9906..2def17cfbd 100644
--- a/common/serializer.h
+++ b/common/serializer.h
@@ -144,6 +144,10 @@ public:
*/
Version getVersion() const { return _version; }
+ /**
+ * Manually set the version
+ */
+ void setVersion(Version version) { _version = version; }
/**
* Return the total number of bytes synced so far.