From 311c175f3184103950c72bc5c775174597430b83 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 14 Jul 2017 01:31:22 +0300 Subject: Replace std::vector into macro STD_VECTOR. In most case it equal to std::vector except debug modes. Now it can be also mse::mstd::vector, but sadly this class not support all required features. --- src/net/eathena/buyingstorehandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/buyingstorehandler.cpp') diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp index d342be0b8..ae2157452 100644 --- a/src/net/eathena/buyingstorehandler.cpp +++ b/src/net/eathena/buyingstorehandler.cpp @@ -47,7 +47,7 @@ BuyingStoreHandler::BuyingStoreHandler() void BuyingStoreHandler::create(const std::string &name, const int maxMoney, const bool flag, - const std::vector &items) const + const STD_VECTOR &items) const { if (packetVersion < 20100303) return; @@ -56,7 +56,7 @@ void BuyingStoreHandler::create(const std::string &name, outMsg.writeInt32(maxMoney, "limit money"); outMsg.writeInt8(static_cast(flag), "flag"); outMsg.writeString(name, 80, "store name"); - FOR_EACH (std::vector::const_iterator, it, items) + FOR_EACH (STD_VECTOR::const_iterator, it, items) { const ShopItem *const item = *it; outMsg.writeInt16(CAST_S16(item->getId()), "item id"); -- cgit v1.2.3-70-g09d2