Browse Source

Do not shadow members in dbwrapper

0.14
Pavel Janík 8 years ago
parent
commit
4a35e0f34c
  1. 12
      src/dbwrapper.h

12
src/dbwrapper.h

@ -52,9 +52,9 @@ private:
public: 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> template <typename K, typename V>
void Write(const K& key, const V& value) void Write(const K& key, const V& value)
@ -94,11 +94,11 @@ private:
public: public:
/** /**
* @param[in] parent Parent CDBWrapper instance. * @param[in] _parent Parent CDBWrapper instance.
* @param[in] piterIn The original leveldb iterator. * @param[in] _piter The original leveldb iterator.
*/ */
CDBIterator(const CDBWrapper &parent, leveldb::Iterator *piterIn) : CDBIterator(const CDBWrapper &_parent, leveldb::Iterator *_piter) :
parent(parent), piter(piterIn) { }; parent(_parent), piter(_piter) { };
~CDBIterator(); ~CDBIterator();
bool Valid(); bool Valid();

Loading…
Cancel
Save