diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-06-09 08:25:13 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-06-09 08:25:25 +0200 |
| commit | 0b5279f89c9afcb3af98880cc65cecd25ce29af6 (patch) | |
| tree | e8d6b0ce4b0705a7b26b746c5e4c2c2b9493ec01 /src/test/base58_tests.cpp | |
| parent | Merge #8154: drop vAddrToSend after sending big addr message (diff) | |
| parent | Do not shadow local variables (diff) | |
| download | discoin-0b5279f89c9afcb3af98880cc65cecd25ce29af6.tar.xz discoin-0b5279f89c9afcb3af98880cc65cecd25ce29af6.zip | |
Merge #8166: src/test: Do not shadow local variables
c2715d3 Do not shadow local variables (Pavel JanÃk)
Diffstat (limited to 'src/test/base58_tests.cpp')
| -rw-r--r-- | src/test/base58_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/base58_tests.cpp b/src/test/base58_tests.cpp index e5a2e28b2..01eb2aee9 100644 --- a/src/test/base58_tests.cpp +++ b/src/test/base58_tests.cpp @@ -79,7 +79,7 @@ class TestAddrTypeVisitor : public boost::static_visitor<bool> private: std::string exp_addrType; public: - TestAddrTypeVisitor(const std::string &exp_addrType) : exp_addrType(exp_addrType) { } + TestAddrTypeVisitor(const std::string &_exp_addrType) : exp_addrType(_exp_addrType) { } bool operator()(const CKeyID &id) const { return (exp_addrType == "pubkey"); @@ -100,7 +100,7 @@ class TestPayloadVisitor : public boost::static_visitor<bool> private: std::vector<unsigned char> exp_payload; public: - TestPayloadVisitor(std::vector<unsigned char> &exp_payload) : exp_payload(exp_payload) { } + TestPayloadVisitor(std::vector<unsigned char> &_exp_payload) : exp_payload(_exp_payload) { } bool operator()(const CKeyID &id) const { uint160 exp_key(exp_payload); |