diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-01-06 20:00:45 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-01-06 20:01:00 +0100 |
| commit | 3b95808428c16b2276cf1a6416d0c01ae515e81a (patch) | |
| tree | deb7557265867c7016dd82612194951527f64438 | |
| parent | Merge pull request #5598 (diff) | |
| parent | IsNull doesn't change CBlockLocator, add const hint (diff) | |
| download | discoin-3b95808428c16b2276cf1a6416d0c01ae515e81a.tar.xz discoin-3b95808428c16b2276cf1a6416d0c01ae515e81a.zip | |
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)
| -rw-r--r-- | src/db.h | 2 | ||||
| -rw-r--r-- | src/primitives/block.h | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -23,8 +23,6 @@ class CDiskBlockIndex; class COutPoint; -struct CBlockLocator; - extern unsigned int nWalletDBUpdated; void ThreadFlushWalletDB(const std::string& strWalletFile); diff --git a/src/primitives/block.h b/src/primitives/block.h index 53fcd104a..d77ab162e 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -162,7 +162,7 @@ struct CBlockLocator vHave.clear(); } - bool IsNull() + bool IsNull() const { return vHave.empty(); } |