Index: src/snapshot/snapshot-source-sink.h |
diff --git a/src/snapshot/snapshot-source-sink.h b/src/snapshot/snapshot-source-sink.h |
index 360ec76bb61986deabbfd20d156dd120ce34fd50..4f6545f38b20b507893d60ded3de346289d1e239 100644 |
--- a/src/snapshot/snapshot-source-sink.h |
+++ b/src/snapshot/snapshot-source-sink.h |
@@ -94,7 +94,7 @@ class SnapshotByteSink { |
void PutRaw(const byte* data, int number_of_bytes, const char* description); |
int Position() { return data_.length(); } |
- const List<byte>& data() const { return data_; } |
+ List<byte>* data() { return &data_; } |
private: |
List<byte> data_; |