diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-06-27 20:18:41 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-27 20:18:41 -0500 |
commit | ba0a7294d054c48723834138c605473c64f12ff4 (patch) | |
tree | 91ebf9abacb8a2dbae8dbaa659f05934f3623c68 /src/wallet/api/address_book.h | |
parent | Merge pull request #3994 (diff) | |
parent | Wallet API: add some missing override keyword (diff) | |
download | monero-ba0a7294d054c48723834138c605473c64f12ff4.tar.xz |
Merge pull request #4000
4510f41 Wallet API: add some missing override keyword (stoffu)
Diffstat (limited to 'src/wallet/api/address_book.h')
-rw-r--r-- | src/wallet/api/address_book.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/wallet/api/address_book.h b/src/wallet/api/address_book.h index 7d9200550..f4ca68efd 100644 --- a/src/wallet/api/address_book.h +++ b/src/wallet/api/address_book.h @@ -42,16 +42,16 @@ public: ~AddressBookImpl(); // Fetches addresses from Wallet2 - void refresh(); - std::vector<AddressBookRow*> getAll() const; - bool addRow(const std::string &dst_addr , const std::string &payment_id, const std::string &description); - bool deleteRow(std::size_t rowId); + void refresh() override; + std::vector<AddressBookRow*> getAll() const override; + bool addRow(const std::string &dst_addr , const std::string &payment_id, const std::string &description) override; + bool deleteRow(std::size_t rowId) override; // Error codes. See AddressBook:ErrorCode enum in wallet2_api.h - std::string errorString() const {return m_errorString;} - int errorCode() const {return m_errorCode;} + std::string errorString() const override {return m_errorString;} + int errorCode() const override {return m_errorCode;} - int lookupPaymentID(const std::string &payment_id) const; + int lookupPaymentID(const std::string &payment_id) const override; private: void clearRows(); |