diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-05-26 08:59:13 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-05-26 08:59:13 +0200 |
commit | 19e8d7be42039724b4893515ec6457d0187024a9 (patch) | |
tree | a9d73d5e397b1f7bd8db9f7533231e98656f78c8 /src/netbase.h | |
parent | e1412d3e96ff11d05d727bebedcc42698853cccc (diff) |
Simplify code for CSubnet
Simplify the code by using CAddress.ip directly, instead of the reversed
GetByte() semantics.
Diffstat (limited to 'src/netbase.h')
-rw-r--r-- | src/netbase.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/netbase.h b/src/netbase.h index 6d2ca4afb2..1f2957116e 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -100,6 +100,8 @@ class CNetAddr inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { READWRITE(FLATDATA(ip)); } + + friend class CSubNet; }; class CSubNet |