From bdb6a71d3d4173b02d24f302af2c2707df85e95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Jan=C3=ADk?= Date: Sat, 20 Dec 2014 16:58:40 +0100 Subject: [PATCH] IsNull doesn't change CBlockLocator, add const hint --- src/primitives/block.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }