Browse Source

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

0.8
Wladimir J. van der Laan 13 years ago
parent
commit
cdcc319c2d
  1. 2
      src/main.h
  2. 8
      src/wallet.h

2
src/main.h

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

8
src/wallet.h

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

Loading…
Cancel
Save