From 50f4daf53d60cfb90107fd4989dd1869bc1f3e35 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Aug 2017 23:08:40 +0300 Subject: Add support for removing item from mail. --- src/net/tmwa/mail2handler.cpp | 2 +- src/net/tmwa/mail2handler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa') 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, -- cgit v1.2.3-70-g09d2