aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialize.h')
-rw-r--r--src/serialize.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/serialize.h b/src/serialize.h
index 82870c45b3..f8e82edf8b 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -943,10 +943,9 @@ public:
CSizeComputer(int nTypeIn, int nVersionIn) : nSize(0), nType(nTypeIn), nVersion(nVersionIn) {}
- CSizeComputer& write(const char *psz, size_t nSize)
+ void write(const char *psz, size_t nSize)
{
this->nSize += nSize;
- return *this;
}
template<typename T>