[K/N] Remove std_support allocation code ^KT-59008

This commit is contained in:
Alexander Shabalin
2023-08-10 19:31:13 +02:00
committed by Space Team
parent 002cd011d4
commit 49814ecb8a
110 changed files with 557 additions and 1078 deletions
@@ -11,6 +11,7 @@
#include <shared_mutex>
#include <tuple>
#include <type_traits>
#include <vector>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
@@ -18,7 +19,6 @@
#include "ClockTestSupport.hpp"
#include "ScopedThread.hpp"
#include "TestSupport.hpp"
#include "std_support/Vector.hpp"
using namespace kotlin;
@@ -1078,7 +1078,7 @@ TEST(ManualClockTest, ConcurrentSleepUntil) {
test_support::manual_clock::reset();
constexpr auto threadCount = kDefaultThreadCount;
std_support::vector<ScopedThread> threads;
std::vector<ScopedThread> threads;
std::atomic<bool> run = false;
std::atomic<int> ready = 0;
for (int i = 0; i < threadCount; ++i) {
@@ -1103,7 +1103,7 @@ TEST(ManualClockTest, ConcurrentWaits) {
test_support::manual_clock::reset();
constexpr auto threadCount = kDefaultThreadCount;
std_support::vector<ScopedThread> threads;
std::vector<ScopedThread> threads;
std::mutex mutex;
std::condition_variable cv;
std::condition_variable_any cvAny;