mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Do not shadow members in dbwrapper
This commit is contained in:
parent
6e6ab2c323
commit
4a35e0f34c
@ -52,9 +52,9 @@ private:
|
||||
|
||||
public:
|
||||
/**
|
||||
* @param[in] parent CDBWrapper that this batch is to be submitted to
|
||||
* @param[in] _parent CDBWrapper that this batch is to be submitted to
|
||||
*/
|
||||
CDBBatch(const CDBWrapper &parent) : parent(parent) { };
|
||||
CDBBatch(const CDBWrapper &_parent) : parent(_parent) { };
|
||||
|
||||
template <typename K, typename V>
|
||||
void Write(const K& key, const V& value)
|
||||
@ -94,11 +94,11 @@ private:
|
||||
public:
|
||||
|
||||
/**
|
||||
* @param[in] parent Parent CDBWrapper instance.
|
||||
* @param[in] piterIn The original leveldb iterator.
|
||||
* @param[in] _parent Parent CDBWrapper instance.
|
||||
* @param[in] _piter The original leveldb iterator.
|
||||
*/
|
||||
CDBIterator(const CDBWrapper &parent, leveldb::Iterator *piterIn) :
|
||||
parent(parent), piter(piterIn) { };
|
||||
CDBIterator(const CDBWrapper &_parent, leveldb::Iterator *_piter) :
|
||||
parent(_parent), piter(_piter) { };
|
||||
~CDBIterator();
|
||||
|
||||
bool Valid();
|
||||
|
Loading…
x
Reference in New Issue
Block a user