diff options
| author | Pavel Janík <[email protected]> | 2014-12-20 16:58:40 +0100 |
|---|---|---|
| committer | Pavel Janík <[email protected]> | 2014-12-20 16:58:40 +0100 |
| commit | bdb6a71d3d4173b02d24f302af2c2707df85e95b (patch) | |
| tree | beb0f2bcc213f5b30c4adc8f5e7112f92b4d42b0 | |
| parent | Remove no longer needed declaration of CBlockLocator (diff) | |
| download | discoin-bdb6a71d3d4173b02d24f302af2c2707df85e95b.tar.xz discoin-bdb6a71d3d4173b02d24f302af2c2707df85e95b.zip | |
IsNull doesn't change CBlockLocator, add const hint
| -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 a18959253..4f2ed36b4 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(); } |