Skip to content

Commit 484312b

Browse files
committed
Merge #8467: [Trivial] Do not shadow members in dbwrapper
4a35e0f Do not shadow members in dbwrapper (Pavel Janík)
2 parents 6e6ab2c + 4a35e0f commit 484312b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/dbwrapper.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ class CDBBatch
5252

5353
public:
5454
/**
55-
* @param[in] parent CDBWrapper that this batch is to be submitted to
55+
* @param[in] _parent CDBWrapper that this batch is to be submitted to
5656
*/
57-
CDBBatch(const CDBWrapper &parent) : parent(parent) { };
57+
CDBBatch(const CDBWrapper &_parent) : parent(_parent) { };
5858

5959
template <typename K, typename V>
6060
void Write(const K& key, const V& value)
@@ -94,11 +94,11 @@ class CDBIterator
9494
public:
9595

9696
/**
97-
* @param[in] parent Parent CDBWrapper instance.
98-
* @param[in] piterIn The original leveldb iterator.
97+
* @param[in] _parent Parent CDBWrapper instance.
98+
* @param[in] _piter The original leveldb iterator.
9999
*/
100-
CDBIterator(const CDBWrapper &parent, leveldb::Iterator *piterIn) :
101-
parent(parent), piter(piterIn) { };
100+
CDBIterator(const CDBWrapper &_parent, leveldb::Iterator *_piter) :
101+
parent(_parent), piter(_piter) { };
102102
~CDBIterator();
103103

104104
bool Valid();

0 commit comments

Comments
 (0)