From e82290f0daa440c6a9784bd3f9daa09a407dacf7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 11 May 2022 00:08:52 +0200 Subject: [PATCH] Use wxVector instead of array macro in atomic unit test No real changes. --- tests/thread/atomic.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/thread/atomic.cpp b/tests/thread/atomic.cpp index bb8849a80f..2d28ed475e 100644 --- a/tests/thread/atomic.cpp +++ b/tests/thread/atomic.cpp @@ -20,8 +20,9 @@ #include "wx/thread.h" #include "wx/dynarray.h" #include "wx/log.h" +#include "wx/vector.h" -WX_DEFINE_ARRAY_PTR(wxThread *, wxArrayThread); +typedef wxVector wxArrayThread; // ---------------------------------------------------------------------------- // constants @@ -123,7 +124,7 @@ TEST_CASE("Atomic::WithThreads", "[atomic]") delete thread; } else - threads.Add(thread); + threads.push_back(thread); } for ( i = 0; i < count; ++i )