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/resources/beinginfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/beinginfo.h') diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index 531392e99..7e016d580 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -328,7 +328,7 @@ class BeingInfo final void addMenu(const std::string &name, const std::string &command); - const std::vector &getMenu() const A_CONST; + const STD_VECTOR &getMenu() const A_CONST; void setString(const int idx, const std::string &value) @@ -353,7 +353,7 @@ class BeingInfo final CursorT mHoverCursor; ItemSoundEvents mSounds; Attacks mAttacks; - std::vector mMenu; + STD_VECTOR mMenu; std::map mStrings; std::string mCurrency; unsigned char mBlockWalkMask; -- cgit v1.2.3-60-g2f50