aboutsummaryrefslogtreecommitdiff
path: root/src/walletdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/walletdb.h')
-rw-r--r--src/walletdb.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/walletdb.h b/src/walletdb.h
index e14c137ba8..2dd257c2c1 100644
--- a/src/walletdb.h
+++ b/src/walletdb.h
@@ -54,14 +54,14 @@ public:
nCreateTime = nCreateTime_;
}
- IMPLEMENT_SERIALIZE
+ IMPLEMENT_SERIALIZE;
- template <typename T, typename Stream, typename Operation>
- inline static size_t SerializationOp(T thisPtr, Stream& s, Operation ser_action, int nType, int nVersion) {
+ template <typename Stream, typename Operation>
+ inline size_t SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
size_t nSerSize = 0;
- READWRITE(thisPtr->nVersion);
- nVersion = thisPtr->nVersion;
- READWRITE(thisPtr->nCreateTime);
+ READWRITE(this->nVersion);
+ nVersion = this->nVersion;
+ READWRITE(nCreateTime);
return nSerSize;
}