Simplify code for CSubnet

Simplify the code by using CAddress.ip directly, instead of the reversed
GetByte() semantics.
This commit is contained in:
Wladimir J. van der Laan
2015-05-26 08:59:13 +02:00
parent e1412d3e96
commit 19e8d7be42
2 changed files with 8 additions and 8 deletions

View File

@@ -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