diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-02 09:58:09 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-02 09:58:09 +0200 |
commit | 3f6540ad8f9c7b45a0dd2b260a282d3adad2406f (patch) | |
tree | 046e2e1e5d88ae36286e0bb99ce530ff33b570b7 /src/netbase.h | |
parent | 47eb76597efb7dadb36dd98bc20bd80b2db9cd50 (diff) |
Rename IMPLEMENT_SERIALIZE to ADD_SERIALIZE_METHODS
Diffstat (limited to 'src/netbase.h')
-rw-r--r-- | src/netbase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/netbase.h b/src/netbase.h index a061a91556..9fc5c72eb8 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -88,7 +88,7 @@ class CNetAddr friend bool operator!=(const CNetAddr& a, const CNetAddr& b); friend bool operator<(const CNetAddr& a, const CNetAddr& b); - IMPLEMENT_SERIALIZE; + ADD_SERIALIZE_METHODS; template <typename Stream, typename Operation> inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { @@ -150,7 +150,7 @@ class CService : public CNetAddr CService(const struct in6_addr& ipv6Addr, unsigned short port); CService(const struct sockaddr_in6& addr); - IMPLEMENT_SERIALIZE; + ADD_SERIALIZE_METHODS; template <typename Stream, typename Operation> inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { |