From 51440f83ec82b4b3fa54c1963f58d07a8b2c2810 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Wed, 10 Jun 2015 10:42:15 -0700 Subject: [PATCH] Fix compile Summary: Ooops, sorry about this. Test Plan: compiles Reviewers: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D39885 --- utilities/write_batch_with_index/write_batch_with_index.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/write_batch_with_index/write_batch_with_index.cc b/utilities/write_batch_with_index/write_batch_with_index.cc index 67edbb28d..451ed98ac 100644 --- a/utilities/write_batch_with_index/write_batch_with_index.cc +++ b/utilities/write_batch_with_index/write_batch_with_index.cc @@ -235,7 +235,7 @@ class BaseDeltaIterator : public Iterator { // Finished return; } - if (delta_entry.type == kDeleteRecord()) { + if (delta_entry.type == kDeleteRecord) { AdvanceDelta(); } else { current_at_base_ = false; @@ -253,7 +253,7 @@ class BaseDeltaIterator : public Iterator { if (compare == 0) { equal_keys_ = true; } - if (delta_entry.type == kDeleteRecord()) { + if (delta_entry.type == kDeleteRecord) { current_at_base_ = false; return; }