diff options
| author | Pavel Janík <[email protected]> | 2016-08-15 14:10:07 +0200 |
|---|---|---|
| committer | Pavel Janík <[email protected]> | 2016-08-15 14:10:07 +0200 |
| commit | b7c349d5e7c207bb7a2e7469c3e5522c9909c17f (patch) | |
| tree | 72334fef6ee1ea35717aa8295589b0a01691dba9 /src/netbase.h | |
| parent | Merge #8128: Net: Turn net structures into dumb storage classes (diff) | |
| download | discoin-b7c349d5e7c207bb7a2e7469c3e5522c9909c17f.tar.xz discoin-b7c349d5e7c207bb7a2e7469c3e5522c9909c17f.zip | |
Do not shadow variables in networking code
Diffstat (limited to 'src/netbase.h')
| -rw-r--r-- | src/netbase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbase.h b/src/netbase.h index bb12019a8..eb39d1657 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -29,7 +29,7 @@ class proxyType { public: proxyType(): randomize_credentials(false) {} - proxyType(const CService &proxy, bool randomize_credentials=false): proxy(proxy), randomize_credentials(randomize_credentials) {} + proxyType(const CService &_proxy, bool _randomize_credentials=false): proxy(_proxy), randomize_credentials(_randomize_credentials) {} bool IsValid() const { return proxy.IsValid(); } |