From b50eee3c4571c4a4657bc14c2935067d833bb801 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:48:19 +0300 Subject: Add const attribute to net classes. --- src/net/tmwa/markethandler.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/net/tmwa/markethandler.h') diff --git a/src/net/tmwa/markethandler.h b/src/net/tmwa/markethandler.h index 9cd4b0b8b..9fe97a91c 100644 --- a/src/net/tmwa/markethandler.h +++ b/src/net/tmwa/markethandler.h @@ -34,14 +34,15 @@ class MarketHandler final : public Net::MarketHandler A_DELETE_COPY(MarketHandler) - void close() override final; + void close() override final A_CONST; void buyItem(const int itemId, const int type, const ItemColor color, - const int amount) const override final; + const int amount) const override final A_CONST; - void buyItems(std::vector &items) const override final; + void buyItems(std::vector &items) const override final + A_CONST; }; } // namespace TmwAthena -- cgit v1.2.3-60-g2f50