aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialize.h')
-rw-r--r--src/serialize.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialize.h b/src/serialize.h
index f8e82edf8b..68a8e28477 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -937,9 +937,9 @@ class CSizeComputer
protected:
size_t nSize;
+ const int nType;
+ const int nVersion;
public:
- int nType;
- int nVersion;
CSizeComputer(int nTypeIn, int nVersionIn) : nSize(0), nType(nTypeIn), nVersion(nVersionIn) {}