aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/gpr/arena_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/gpr/arena_test.cc')
-rw-r--r--test/core/gpr/arena_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/core/gpr/arena_test.cc b/test/core/gpr/arena_test.cc
index b00c014cea..111414ea3e 100644
--- a/test/core/gpr/arena_test.cc
+++ b/test/core/gpr/arena_test.cc
@@ -20,7 +20,6 @@
#include <inttypes.h>
#include <string.h>
-#include <new>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
@@ -102,7 +101,7 @@ static void concurrent_test(void) {
grpc_core::Thread thds[CONCURRENT_TEST_THREADS];
for (int i = 0; i < CONCURRENT_TEST_THREADS; i++) {
- new (&thds[i])
+ thds[i] =
grpc_core::Thread("grpc_concurrent_test", concurrent_test_body, &args);
thds[i].Start();
}