From: Wladimir J. van der Laan Date: Sat, 21 Apr 2012 11:31:08 +0000 (+0200) Subject: change type of various bare chars to bool that are only used as bool (and never seria... X-Git-Tag: v0.4.0-unstable~129^2~52^2~1 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=cdcc319c2dc63414d5a60a1ee7b8b4a61b77fa09;hp=7be8b2ff9c9ea425bdda2ad1a702699b3d2da9f8;p=novacoin.git change type of various bare chars to bool that are only used as bool (and never serialized) --- diff --git a/src/main.h b/src/main.h index d12a3cc..a814092 100644 --- a/src/main.h +++ b/src/main.h @@ -696,7 +696,7 @@ public: int nIndex; // memory only - mutable char fMerkleVerified; + mutable bool fMerkleVerified; CMerkleTx() diff --git a/src/wallet.h b/src/wallet.h index c1461b1..37cf549 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -317,10 +317,10 @@ public: std::vector vfSpent; // which outputs are already spent // memory only - mutable char fDebitCached; - mutable char fCreditCached; - mutable char fAvailableCreditCached; - mutable char fChangeCached; + mutable bool fDebitCached; + mutable bool fCreditCached; + mutable bool fAvailableCreditCached; + mutable bool fChangeCached; mutable int64 nDebitCached; mutable int64 nCreditCached; mutable int64 nAvailableCreditCached;