diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-06 20:00:45 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-06 20:01:00 +0100 |
commit | 3b95808428c16b2276cf1a6416d0c01ae515e81a (patch) | |
tree | deb7557265867c7016dd82612194951527f64438 /src/primitives | |
parent | de70dd4904aef3884612bf1410c63543a7adca80 (diff) | |
parent | bdb6a71d3d4173b02d24f302af2c2707df85e95b (diff) |
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)
Diffstat (limited to 'src/primitives')
-rw-r--r-- | src/primitives/block.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/primitives/block.h b/src/primitives/block.h index 53fcd104ad..d77ab162e0 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(); } |