mirror of https://github.com/facebook/rocksdb.git
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:
parent
4949ef08db
commit
51440f83ec
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue