diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-24 23:08:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-24 23:08:40 +0300 |
commit | 50f4daf53d60cfb90107fd4989dd1869bc1f3e35 (patch) | |
tree | b86638cb85d3845d5186563315dd5af5d8e15c50 /src/net/tmwa | |
parent | af5fde1f88bd5c8d0e11b59d73f6c76610c14acf (diff) | |
download | plus-50f4daf53d60cfb90107fd4989dd1869bc1f3e35.tar.gz plus-50f4daf53d60cfb90107fd4989dd1869bc1f3e35.tar.bz2 plus-50f4daf53d60cfb90107fd4989dd1869bc1f3e35.tar.xz plus-50f4daf53d60cfb90107fd4989dd1869bc1f3e35.zip |
Add support for removing item from mail.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/mail2handler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/mail2handler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/mail2handler.cpp b/src/net/tmwa/mail2handler.cpp index d79e9585e..70a8cfda5 100644 --- a/src/net/tmwa/mail2handler.cpp +++ b/src/net/tmwa/mail2handler.cpp @@ -44,7 +44,7 @@ void Mail2Handler::addItem(const Item *const item A_UNUSED, { } -void Mail2Handler::removeItem(const Item *const item A_UNUSED, +void Mail2Handler::removeItem(const int index A_UNUSED, const int amount A_UNUSED) const { } diff --git a/src/net/tmwa/mail2handler.h b/src/net/tmwa/mail2handler.h index e39e99347..221e714b5 100644 --- a/src/net/tmwa/mail2handler.h +++ b/src/net/tmwa/mail2handler.h @@ -40,7 +40,7 @@ class Mail2Handler final : public Net::Mail2Handler void addItem(const Item *const item, const int amount) const override final; - void removeItem(const Item *const item, + void removeItem(const int index, const int amount) const override final; void sendMail(const std::string &to, |