aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-01-06 20:00:45 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-01-06 20:01:00 +0100
commit3b95808428c16b2276cf1a6416d0c01ae515e81a (patch)
treedeb7557265867c7016dd82612194951527f64438 /src
parentde70dd4904aef3884612bf1410c63543a7adca80 (diff)
parentbdb6a71d3d4173b02d24f302af2c2707df85e95b (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')
-rw-r--r--src/db.h2
-rw-r--r--src/primitives/block.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/db.h b/src/db.h
index 717462ff4f..393978633f 100644
--- a/src/db.h
+++ b/src/db.h
@@ -23,8 +23,6 @@
class CDiskBlockIndex;
class COutPoint;
-struct CBlockLocator;
-
extern unsigned int nWalletDBUpdated;
void ThreadFlushWalletDB(const std::string& strWalletFile);
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();
}