diff options
| author | Pieter Wuille <[email protected]> | 2014-09-02 09:58:09 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-09-02 09:58:09 +0200 |
| commit | 3f6540ad8f9c7b45a0dd2b260a282d3adad2406f (patch) | |
| tree | 046e2e1e5d88ae36286e0bb99ce530ff33b570b7 /src/protocol.h | |
| parent | Serializer simplifications after IMPLEMENT_SERIALIZE overhaul (diff) | |
| download | discoin-3f6540ad8f9c7b45a0dd2b260a282d3adad2406f.tar.xz discoin-3f6540ad8f9c7b45a0dd2b260a282d3adad2406f.zip | |
Rename IMPLEMENT_SERIALIZE to ADD_SERIALIZE_METHODS
Diffstat (limited to 'src/protocol.h')
| -rw-r--r-- | src/protocol.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol.h b/src/protocol.h index ddf096aea..82d29e66d 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -35,7 +35,7 @@ class CMessageHeader std::string GetCommand() const; bool IsValid() const; - IMPLEMENT_SERIALIZE; + ADD_SERIALIZE_METHODS; template <typename Stream, typename Operation> inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { @@ -85,7 +85,7 @@ class CAddress : public CService void Init(); - IMPLEMENT_SERIALIZE; + ADD_SERIALIZE_METHODS; template <typename Stream, typename Operation> inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { @@ -119,7 +119,7 @@ class CInv CInv(int typeIn, const uint256& hashIn); CInv(const std::string& strType, const uint256& hashIn); - IMPLEMENT_SERIALIZE; + ADD_SERIALIZE_METHODS; template <typename Stream, typename Operation> inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { |