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;
// memory only
mutable char fMerkleVerified;
mutable bool fMerkleVerified;
CMerkleTx()

View file

@ -317,10 +317,10 @@ public:
std::vector<char> 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;