Use wxVector instead of array macro in atomic unit test
No real changes.
This commit is contained in:
@@ -20,8 +20,9 @@
|
|||||||
#include "wx/thread.h"
|
#include "wx/thread.h"
|
||||||
#include "wx/dynarray.h"
|
#include "wx/dynarray.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
|
#include "wx/vector.h"
|
||||||
|
|
||||||
WX_DEFINE_ARRAY_PTR(wxThread *, wxArrayThread);
|
typedef wxVector<wxThread*> wxArrayThread;
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// constants
|
// constants
|
||||||
@@ -123,7 +124,7 @@ TEST_CASE("Atomic::WithThreads", "[atomic]")
|
|||||||
delete thread;
|
delete thread;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
threads.Add(thread);
|
threads.push_back(thread);
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( i = 0; i < count; ++i )
|
for ( i = 0; i < count; ++i )
|
||||||
|
|||||||
Reference in New Issue
Block a user