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
This commit is contained in:
Yi Wu 2017-11-08 13:08:15 -08:00 committed by Facebook Github Bot
parent 4f9f124347
commit ca75f0a64a

View file

@ -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_; }