Fix compile

Summary: Ooops, sorry about this.

Test Plan: compiles

Reviewers: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D39885
This commit is contained in:
Igor Canadi 2015-06-10 10:42:15 -07:00
parent 4949ef08db
commit 51440f83ec

View File

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