aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Janík <[email protected]>2014-12-20 16:58:40 +0100
committerPavel Janík <[email protected]>2014-12-20 16:58:40 +0100
commitbdb6a71d3d4173b02d24f302af2c2707df85e95b (patch)
treebeb0f2bcc213f5b30c4adc8f5e7112f92b4d42b0
parentRemove no longer needed declaration of CBlockLocator (diff)
downloaddiscoin-bdb6a71d3d4173b02d24f302af2c2707df85e95b.tar.xz
discoin-bdb6a71d3d4173b02d24f302af2c2707df85e95b.zip
IsNull doesn't change CBlockLocator, add const hint
-rw-r--r--src/primitives/block.h2
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();
}