diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-01 17:20:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-01 17:20:43 +0300 |
commit | c04887aa87c5194a4774fe87cb1a969ba086a439 (patch) | |
tree | 6abb2c3b14217035bf0a42ed6bf2fd7ea092d909 /src/net/tmwa | |
parent | e81ae38c4722046876ab3ed5d53f33a7278056c3 (diff) | |
download | manaverse-c04887aa87c5194a4774fe87cb1a969ba086a439.tar.gz manaverse-c04887aa87c5194a4774fe87cb1a969ba086a439.tar.bz2 manaverse-c04887aa87c5194a4774fe87cb1a969ba086a439.tar.xz manaverse-c04887aa87c5194a4774fe87cb1a969ba086a439.zip |
Convert AuctionSearchType enum into strong typed enum.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/auctionhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/auctionhandler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/auctionhandler.cpp b/src/net/tmwa/auctionhandler.cpp index 773c95f1d..e63b76a00 100644 --- a/src/net/tmwa/auctionhandler.cpp +++ b/src/net/tmwa/auctionhandler.cpp @@ -70,7 +70,7 @@ void AuctionHandler::bid(const int auctionId A_UNUSED, { } -void AuctionHandler::search(const AuctionSearchType::Type type A_UNUSED, +void AuctionHandler::search(const AuctionSearchTypeT type A_UNUSED, const int auctionId A_UNUSED, const std::string &text A_UNUSED, const int page A_UNUSED) const diff --git a/src/net/tmwa/auctionhandler.h b/src/net/tmwa/auctionhandler.h index 0cc72f184..5df04b778 100644 --- a/src/net/tmwa/auctionhandler.h +++ b/src/net/tmwa/auctionhandler.h @@ -54,7 +54,7 @@ class AuctionHandler final : public MessageHandler, public Net::AuctionHandler void bid(const int auctionId, const int money) const override final; - void search(const AuctionSearchType::Type type, + void search(const AuctionSearchTypeT type, const int auctionId, const std::string &text, const int page) const override final; |