Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index c524fcf5d03b18dc6ea47a036f88d92eda7ebdda..0c3465033388d00f84efe9b1022235751c4aaa0e 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -865,8 +865,8 @@ |
SnapshotData(const SnapshotByteSink& sink, const Serializer& ser); |
// Used when consuming. |
- explicit SnapshotData(const Vector<const byte> snapshot) |
- : SerializedData(const_cast<byte*>(snapshot.begin()), snapshot.length()) { |
+ explicit SnapshotData(const byte* data, int size) |
+ : SerializedData(const_cast<byte*>(data), size) { |
CHECK(IsSane()); |
} |