summaryrefslogtreecommitdiff
path: root/src/net/tmwa/vendinghandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:19 +0300
commitb50eee3c4571c4a4657bc14c2935067d833bb801 (patch)
tree047ab4a069d61ddbfdf3ee65db22f020ffcf4c11 /src/net/tmwa/vendinghandler.h
parentb226f23946987a649fb50bc6d9df2dd8afa7ade1 (diff)
downloadmanaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.gz
manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.bz2
manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.xz
manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.zip
Add const attribute to net classes.
Diffstat (limited to 'src/net/tmwa/vendinghandler.h')
-rw-r--r--src/net/tmwa/vendinghandler.h11
1 files changed, 6 insertions, 5 deletions
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<ShopItem*> &items) const override final;
+ std::vector<ShopItem*> &items) const override final
+ A_CONST;
};
} // namespace TmwAthena