aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-06-20 21:58:56 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-06-28 02:12:06 +0200
commitaa95947ded93e7e45f222f255baf186433cc11fc (patch)
tree5c57ac83b17f7d0ac6095a8e36c359e5f3121ae6 /src/txdb.h
parentacb11535cb8499fd47fdde7f52457f8945b58856 (diff)
downloadbitcoin-aa95947ded93e7e45f222f255baf186433cc11fc.tar.xz
Use the override specifier (C++11) where we expect to be overriding the virtual function of a base class
Diffstat (limited to 'src/txdb.h')
-rw-r--r--src/txdb.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/txdb.h b/src/txdb.h
index 2a3e4eb696..b14a0af147 100644
--- a/src/txdb.h
+++ b/src/txdb.h
@@ -88,12 +88,12 @@ class CCoinsViewDBCursor: public CCoinsViewCursor
public:
~CCoinsViewDBCursor() {}
- bool GetKey(COutPoint &key) const;
- bool GetValue(Coin &coin) const;
- unsigned int GetValueSize() const;
+ bool GetKey(COutPoint &key) const override;
+ bool GetValue(Coin &coin) const override;
+ unsigned int GetValueSize() const override;
- bool Valid() const;
- void Next();
+ bool Valid() const override;
+ void Next() override;
private:
CCoinsViewDBCursor(CDBIterator* pcursorIn, const uint256 &hashBlockIn):