Blob DB: Fix release build

Summary:
`compression` shadow the method name in `BlobFile`. Rename it.
Closes https://github.com/facebook/rocksdb/pull/3148

Differential Revision: D6274498

Pulled By: yiwu-arbug

fbshipit-source-id: 7d293596530998b23b6b8a8940f983f9b6343a98
main
Yi Wu 7 years ago committed by Facebook Github Bot
parent 4f9f124347
commit ca75f0a64a
  1. 4
      utilities/blob_db/blob_file.h

@ -178,8 +178,8 @@ class BlobFile {
CompressionType compression() const { return compression_; }
void SetCompression(CompressionType compression) {
compression_ = compression;
void SetCompression(CompressionType c) {
compression_ = c;
}
std::shared_ptr<Writer> GetWriter() const { return log_writer_; }

Loading…
Cancel
Save