From e37eb21e921f5f29391b9c8af99c753b6bebce8c Mon Sep 17 00:00:00 2001 From: Deon Nicholas Date: Tue, 6 Aug 2013 11:02:19 -0700 Subject: [PATCH] minor change to fix build --- 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 79f75bb6c..dae0ba849 100644 --- a/utilities/ttl/db_ttl.h +++ b/utilities/ttl/db_ttl.h @@ -277,7 +277,7 @@ class TtlMergeOperator : public MergeOperator { const Slice& right_operand, std::string* new_value, Logger* logger) const override { - const uint32_t& ts_len = DBWithTTL::kTSLength; + const uint32_t ts_len = DBWithTTL::kTSLength; if (left_operand.size() < ts_len || right_operand.size() < ts_len) { Log(logger, "Error: Could not remove timestamp from value.");