diff --git a/db/log_writer.h b/db/log_writer.h index ad36794db..5673e31ff 100644 --- a/db/log_writer.h +++ b/db/log_writer.h @@ -39,7 +39,7 @@ class Writer { private: Status EmitPhysicalRecord(RecordType type, const char* ptr, size_t length); - WritableFile* dest_; + WritableFile* const dest_; int block_offset_; // Current offset in block // crc32c values for all supported record types. These are