Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index bc40b8f711b4a86efa8742f11705fc6aca6e29bf..d15fb54870ece2a4f87383557b5cfef3a5aad221 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -739,7 +739,7 @@ class SerializedCodeData { |
} |
// Used when producing. |
- SerializedCodeData(List<byte>* payload, CodeSerializer* cs); |
+ SerializedCodeData(const List<byte>& payload, CodeSerializer* cs); |
~SerializedCodeData() { |
if (owns_script_data_) delete script_data_; |