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/models/beingslistmodel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/models/beingslistmodel.h') diff --git a/src/gui/models/beingslistmodel.h b/src/gui/models/beingslistmodel.h index db17f4833..a0a9d2920 100644 --- a/src/gui/models/beingslistmodel.h +++ b/src/gui/models/beingslistmodel.h @@ -45,7 +45,7 @@ class BeingsListModel final : public AvatarListModel mMembers.clear(); } - std::vector *getMembers() RETURNS_NONNULL A_WARN_UNUSED + STD_VECTOR *getMembers() RETURNS_NONNULL A_WARN_UNUSED { return &mMembers; } @@ -60,7 +60,7 @@ class BeingsListModel final : public AvatarListModel return CAST_S32(mMembers.size()); } - std::vector mMembers; + STD_VECTOR mMembers; }; #endif // GUI_MODELS_BEINGSLISTMODEL_H -- cgit v1.2.3-70-g09d2