diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-25 12:55:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-25 12:55:31 +0300 |
commit | 5f97d3fd31bb5a17037610342ea09c21da9c47d3 (patch) | |
tree | ad32a4c8835c6b9273414e3b412c44e41270e708 /src/auctionmanager.h | |
parent | da457cf152d5aff51d859c18d3668682348dbf7a (diff) | |
download | manaplus-5f97d3fd31bb5a17037610342ea09c21da9c47d3.tar.gz manaplus-5f97d3fd31bb5a17037610342ea09c21da9c47d3.tar.bz2 manaplus-5f97d3fd31bb5a17037610342ea09c21da9c47d3.tar.xz manaplus-5f97d3fd31bb5a17037610342ea09c21da9c47d3.zip |
change vars and methods to const.
Diffstat (limited to 'src/auctionmanager.h')
-rw-r--r-- | src/auctionmanager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auctionmanager.h b/src/auctionmanager.h index 35b233abf..a98e36a9c 100644 --- a/src/auctionmanager.h +++ b/src/auctionmanager.h @@ -36,9 +36,9 @@ class AuctionManager static void init(); - void send(std::string msg); + static void send(const std::string &msg); - bool processAuctionMessage(std::string msg); +// static bool processAuctionMessage(const std::string &msg); static bool getEnableAuctionBot() { return mEnableAuctionBot; } @@ -47,7 +47,7 @@ class AuctionManager void reload(); - void sendMail(std::string mail); + static void sendMail(const std::string &mail); private: static bool mEnableAuctionBot; |