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/gui/widgets/layoutarray.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/layoutarray.h') diff --git a/src/gui/widgets/layoutarray.h b/src/gui/widgets/layoutarray.h index 2a35635dc..cca05e091 100644 --- a/src/gui/widgets/layoutarray.h +++ b/src/gui/widgets/layoutarray.h @@ -111,15 +111,15 @@ class LayoutArray final * Gets the column/row sizes along a given axis. * @param upp target size for the array. Ignored if AUTO_DEF. */ - std::vector getSizes(const int dim, int upp) const A_WARN_UNUSED; + STD_VECTOR getSizes(const int dim, int upp) const A_WARN_UNUSED; /** * Gets the total size along a given axis. */ int getSize(const int dim) const A_WARN_UNUSED; - std::vector mSizes[2]; - std::vector< std::vector < LayoutCell * > > mCells; + STD_VECTOR mSizes[2]; + STD_VECTOR< STD_VECTOR < LayoutCell * > > mCells; int mSpacing; }; -- cgit v1.2.3-60-g2f50