aboutsummaryrefslogtreecommitdiff
path: root/src/coins.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-06-08 09:28:28 -0400
committerRussell Yanofsky <russ@yanofsky.org>2017-06-08 09:28:28 -0400
commit3ff1fa8c4a6198ebc277bbf814b4e07bf78eb98a (patch)
tree0732d46406903e6a80714d5172f9dcc6c964b2dd /src/coins.h
parent24e44c354d5b9174cb9cb7d157a985e197aa7886 (diff)
Use override keyword on CCoinsView overrides
Diffstat (limited to 'src/coins.h')
-rw-r--r--src/coins.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/coins.h b/src/coins.h
index b10c7ea9a0..833e066c38 100644
--- a/src/coins.h
+++ b/src/coins.h
@@ -207,12 +207,12 @@ public:
CCoinsViewCache(CCoinsView *baseIn);
// Standard CCoinsView methods
- bool GetCoin(const COutPoint &outpoint, Coin &coin) const;
- bool HaveCoin(const COutPoint &outpoint) const;
- uint256 GetBestBlock() const;
+ bool GetCoin(const COutPoint &outpoint, Coin &coin) const override;
+ bool HaveCoin(const COutPoint &outpoint) const override;
+ uint256 GetBestBlock() const override;
void SetBestBlock(const uint256 &hashBlock);
- bool BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock);
- CCoinsViewCursor* Cursor() const {
+ bool BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) override;
+ CCoinsViewCursor* Cursor() const override {
throw std::logic_error("CCoinsViewCache cursor iteration not supported.");
}