diff options
Diffstat (limited to 'src/coins.h')
-rw-r--r-- | src/coins.h | 10 |
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."); } |