From 73f9518b21ffc78d33737025b474c7c9e0182ce2 Mon Sep 17 00:00:00 2001 From: Mayank Agarwal Date: Mon, 5 Aug 2013 19:20:58 -0700 Subject: [PATCH] Fix build Summary: remove reference Test Plan: make OPT=-g Reviewers: CC: Task ID: # Blame Rev: --- utilities/ttl/db_ttl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ttl/db_ttl.h b/utilities/ttl/db_ttl.h index 6323a9ff1..48aee4a10 100644 --- a/utilities/ttl/db_ttl.h +++ b/utilities/ttl/db_ttl.h @@ -230,7 +230,7 @@ class TtlMergeOperator : public MergeOperator { const Slice& value, std::string* new_value, Logger* logger) const override { - const uint32_t& ts_len = DBWithTTL::kTSLength; + const uint32_t ts_len = DBWithTTL::kTSLength; if ((existing_value && existing_value->size() < ts_len) || value.size() < ts_len) { Log(logger, "Error: Could not remove timestamp correctly from value.");