change type of various bare chars to bool that are only used as bool (and never serialized)

This commit is contained in:
Wladimir J. van der Laan 2012-04-21 13:31:08 +02:00
parent 7be8b2ff9c
commit cdcc319c2d
2 changed files with 5 additions and 5 deletions

View File

@ -696,7 +696,7 @@ public:
int nIndex; int nIndex;
// memory only // memory only
mutable char fMerkleVerified; mutable bool fMerkleVerified;
CMerkleTx() CMerkleTx()

View File

@ -317,10 +317,10 @@ public:
std::vector<char> vfSpent; // which outputs are already spent std::vector<char> vfSpent; // which outputs are already spent
// memory only // memory only
mutable char fDebitCached; mutable bool fDebitCached;
mutable char fCreditCached; mutable bool fCreditCached;
mutable char fAvailableCreditCached; mutable bool fAvailableCreditCached;
mutable char fChangeCached; mutable bool fChangeCached;
mutable int64 nDebitCached; mutable int64 nDebitCached;
mutable int64 nCreditCached; mutable int64 nCreditCached;
mutable int64 nAvailableCreditCached; mutable int64 nAvailableCreditCached;