diff options
Diffstat (limited to 'src/serialize.h')
-rw-r--r-- | src/serialize.h | 3 |
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> |