aboutsummaryrefslogtreecommitdiff
path: root/src/alert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/alert.h')
-rw-r--r--src/alert.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/alert.h b/src/alert.h
index 46ec4fbde0..b25ac41f6b 100644
--- a/src/alert.h
+++ b/src/alert.h
@@ -49,8 +49,7 @@ public:
IMPLEMENT_SERIALIZE;
template <typename Stream, typename Operation>
- inline size_t SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
- size_t nSerSize = 0;
+ inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
READWRITE(this->nVersion);
nVersion = this->nVersion;
READWRITE(nRelayUntil);
@@ -66,7 +65,6 @@ public:
READWRITE(LIMITED_STRING(strComment, 65536));
READWRITE(LIMITED_STRING(strStatusBar, 256));
READWRITE(LIMITED_STRING(strReserved, 256));
- return nSerSize;
}
void SetNull();
@@ -89,11 +87,9 @@ public:
IMPLEMENT_SERIALIZE;
template <typename Stream, typename Operation>
- inline size_t SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
- size_t nSerSize = 0;
+ inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
READWRITE(vchMsg);
READWRITE(vchSig);
- return nSerSize;
}
void SetNull();