summaryrefslogtreecommitdiff
path: root/src/net/buysellhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/buysellhandler.h')
-rw-r--r--src/net/buysellhandler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/buysellhandler.h b/src/net/buysellhandler.h
index e358ad299..1f5578ed7 100644
--- a/src/net/buysellhandler.h
+++ b/src/net/buysellhandler.h
@@ -38,17 +38,17 @@ class BuySellHandler
virtual void handleMessage(Net::MessageIn &msg) = 0;
- virtual void requestSellList(std::string nick) = 0;
+ virtual void requestSellList(const std::string &nick) const = 0;
- virtual void requestBuyList(std::string nick) = 0;
+ virtual void requestBuyList(const std::string &nick) const = 0;
virtual void sendBuyRequest(const std::string &nick,
const ShopItem *const item,
- const int amount) = 0;
+ const int amount) const = 0;
virtual void sendSellRequest(const std::string &nick,
const ShopItem *const item,
- const int amount) = 0;
+ const int amount) const = 0;
};
} // namespace Net