aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/address_book.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-06-14 08:22:30 +0900
committerstoffu <stoffu@protonmail.ch>2018-06-28 09:59:09 +0900
commit4510f417f9726f0043859055408a99ad62f91383 (patch)
tree3bfb7cd35e6753d957189b8e4f508e3fadb81c76 /src/wallet/api/address_book.h
parentMerge pull request #3907 (diff)
downloadmonero-4510f417f9726f0043859055408a99ad62f91383.tar.xz
Wallet API: add some missing override keyword
Also remove dust() from UnsignedTransactionImpl (already in PendingTransactionImpl)
Diffstat (limited to 'src/wallet/api/address_book.h')
-rw-r--r--src/wallet/api/address_book.h14
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();