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 committed 2012-04-21 18:16:11 +02:00
1 parent 7be8b2ff9c
commit cdcc319c2d
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -696,7 +696,7 @@ public:
int nIndex; int nIndex;
// memory only // memory only
mutable char fMerkleVerified; mutable bool fMerkleVerified;
CMerkleTx() CMerkleTx()
+4 -4
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;