Skip to content

Commit 4b5ac25

Browse files
committed
Drop unused CDBWrapper methods
1 parent abdfd2d commit 4b5ac25

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/dbwrapper.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -292,18 +292,6 @@ class CDBWrapper
292292
// Get an estimate of LevelDB memory usage (in bytes).
293293
size_t DynamicMemoryUsage() const;
294294

295-
// not available for LevelDB; provide for compatibility with BDB
296-
bool Flush()
297-
{
298-
return true;
299-
}
300-
301-
bool Sync()
302-
{
303-
CDBBatch batch(*this);
304-
return WriteBatch(batch, true);
305-
}
306-
307295
CDBIterator *NewIterator()
308296
{
309297
return new CDBIterator(*this, pdb->NewIterator(iteroptions));

0 commit comments

Comments
 (0)