diff options
| author | practicalswift <[email protected]> | 2017-06-20 21:58:56 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-06-28 02:12:06 +0200 |
| commit | aa95947ded93e7e45f222f255baf186433cc11fc (patch) | |
| tree | 5c57ac83b17f7d0ac6095a8e36c359e5f3121ae6 /src/txdb.h | |
| parent | Merge #10659: [qa] blockchain: Pass on closed connection during generate call (diff) | |
| download | discoin-aa95947ded93e7e45f222f255baf186433cc11fc.tar.xz discoin-aa95947ded93e7e45f222f255baf186433cc11fc.zip | |
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.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/txdb.h b/src/txdb.h index 2a3e4eb69..b14a0af14 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): |