Browse Source

Merge pull request #5520

bdb6a71 IsNull doesn't change CBlockLocator, add const hint (Pavel Janík)
1b37333 Remove no longer needed declaration of CBlockLocator (Pavel Janík)
0.13
Wladimir J. van der Laan 10 years ago
parent
commit
3b95808428
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/db.h
  2. 2
      src/primitives/block.h

2
src/db.h

@ -23,8 +23,6 @@ @@ -23,8 +23,6 @@
class CDiskBlockIndex;
class COutPoint;
struct CBlockLocator;
extern unsigned int nWalletDBUpdated;
void ThreadFlushWalletDB(const std::string& strWalletFile);

2
src/primitives/block.h

@ -162,7 +162,7 @@ struct CBlockLocator @@ -162,7 +162,7 @@ struct CBlockLocator
vHave.clear();
}
bool IsNull()
bool IsNull() const
{
return vHave.empty();
}

Loading…
Cancel
Save