diff options
author | Pavel Janík <Pavel@Janik.cz> | 2016-06-07 21:22:48 +0200 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2016-06-07 21:22:48 +0200 |
commit | c2715d3ab8d83be5bc256380b84d5467e85a4330 (patch) | |
tree | 6dc67b195b2a6beb2d7169d48de7f14e9b2f2e84 /src/test/base58_tests.cpp | |
parent | 79004d4ae67164d980fdaab4de9d9d467cdb9b88 (diff) |
Do not shadow local variables
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 e5a2e28b2e..01eb2aee9e 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); |