mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-03-11 05:03:31 +00:00
leveldbwrapper: Remove unused .Prev(), .SeekToLast() methods
Also, trim trailing whitespace.
This commit is contained in:
parent
a09297010e
commit
6ec4b7eb20
@ -149,6 +149,4 @@ std::string CLevelDBWrapper::GetObfuscateKeyHex() const
|
||||
CLevelDBIterator::~CLevelDBIterator() { delete piter; }
|
||||
bool CLevelDBIterator::Valid() { return piter->Valid(); }
|
||||
void CLevelDBIterator::SeekToFirst() { piter->SeekToFirst(); }
|
||||
void CLevelDBIterator::SeekToLast() { piter->SeekToLast(); }
|
||||
void CLevelDBIterator::Next() { piter->Next(); }
|
||||
void CLevelDBIterator::Prev() { piter->Prev(); }
|
||||
|
@ -88,7 +88,6 @@ public:
|
||||
bool Valid();
|
||||
|
||||
void SeekToFirst();
|
||||
void SeekToLast();
|
||||
|
||||
template<typename K> void Seek(const K& key) {
|
||||
CDataStream ssKey(SER_DISK, CLIENT_VERSION);
|
||||
@ -99,7 +98,6 @@ public:
|
||||
}
|
||||
|
||||
void Next();
|
||||
void Prev();
|
||||
|
||||
template<typename K> bool GetKey(K& key) {
|
||||
leveldb::Slice slKey = piter->key();
|
||||
|
Loading…
x
Reference in New Issue
Block a user