From ca75f0a64a0d2aa0fb8517d6827b5e1d639e64f3 Mon Sep 17 00:00:00 2001 From: Yi Wu Date: Wed, 8 Nov 2017 13:08:15 -0800 Subject: [PATCH] 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 --- utilities/blob_db/blob_file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/blob_db/blob_file.h b/utilities/blob_db/blob_file.h index ad738170e..4085cfef0 100644 --- a/utilities/blob_db/blob_file.h +++ b/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 GetWriter() const { return log_writer_; }