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/extendednamesmodel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/models/extendednamesmodel.h') diff --git a/src/gui/models/extendednamesmodel.h b/src/gui/models/extendednamesmodel.h index cf1d13f6e..2e85a4b2b 100644 --- a/src/gui/models/extendednamesmodel.h +++ b/src/gui/models/extendednamesmodel.h @@ -43,7 +43,7 @@ class ExtendedNamesModel notfinal : public ExtendedListModel StringVect &getNames() A_WARN_UNUSED { return mNames; } - std::vector &getImages() A_WARN_UNUSED + STD_VECTOR &getImages() A_WARN_UNUSED { return mImages; } size_t size() A_WARN_UNUSED @@ -56,7 +56,7 @@ class ExtendedNamesModel notfinal : public ExtendedListModel protected: StringVect mNames; - std::vector mImages; + STD_VECTOR mImages; }; #endif // GUI_MODELS_EXTENDEDNAMESMODEL_H -- cgit v1.2.3-60-g2f50