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/vendinghandler.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/net/tmwa/vendinghandler.h') diff --git a/src/net/tmwa/vendinghandler.h b/src/net/tmwa/vendinghandler.h index 36b6031df..1e0fdd0bb 100644 --- a/src/net/tmwa/vendinghandler.h +++ b/src/net/tmwa/vendinghandler.h @@ -35,22 +35,23 @@ class VendingHandler final : public Net::VendingHandler A_DELETE_COPY(VendingHandler) - void close() const override final; + void close() const override final A_CONST; - void open(const Being *const being) const override final; + void open(const Being *const being) const override final A_CONST; void buy(const Being *const being, const int index, - const int amount) const override final; + const int amount) const override final A_CONST; void buy2(const Being *const being, const int vendId, const int index, - const int amount) const override final; + const int amount) const override final A_CONST; void createShop(const std::string &name, const bool flag, - std::vector &items) const override final; + std::vector &items) const override final + A_CONST; }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2