aboutsummaryrefslogtreecommitdiff
path: root/src/primitives
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2014-12-20 16:58:40 +0100
committerPavel Janík <Pavel@Janik.cz>2014-12-20 16:58:40 +0100
commitbdb6a71d3d4173b02d24f302af2c2707df85e95b (patch)
treebeb0f2bcc213f5b30c4adc8f5e7112f92b4d42b0 /src/primitives
parent1b37333a7f113ba2458346074610861de4547927 (diff)
downloadbitcoin-bdb6a71d3d4173b02d24f302af2c2707df85e95b.tar.xz
IsNull doesn't change CBlockLocator, add const hint
Diffstat (limited to 'src/primitives')
-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 a189592539..4f2ed36b46 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();
}