Skip to content

Commit 88e192d

Browse files
committed
commit missed file: api/leveldb/leveldb_terark.h
1 parent 2c9a54d commit 88e192d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

api/leveldb/leveldb_terark.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ friend class SnapshotImpl;
377377
// Implementation of WriteBatch::Handler
378378
class WriteBatchHandler : public WriteBatch::Handler {
379379
public:
380-
WriteBatchHandler(DbImpl *db, OperationContext *context) : db_(db), context_(context), status_(0) {}
380+
WriteBatchHandler(OperationContext *context) : context_(context), status_(0) {}
381381
virtual ~WriteBatchHandler() {}
382382
int GetWiredTigerStatus() { return status_; }
383383

@@ -392,7 +392,6 @@ class WriteBatchHandler : public WriteBatch::Handler {
392392
#endif
393393

394394
private:
395-
DbImpl *db_;
396395
OperationContext *context_;
397396
int status_;
398397
};

0 commit comments

Comments
 (0)