aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr/ev_epollsig_linux_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/iomgr/ev_epollsig_linux_test.cc')
-rw-r--r--test/core/iomgr/ev_epollsig_linux_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/core/iomgr/ev_epollsig_linux_test.cc b/test/core/iomgr/ev_epollsig_linux_test.cc
index 4ec6fc8b0d..c3ba6d7c14 100644
--- a/test/core/iomgr/ev_epollsig_linux_test.cc
+++ b/test/core/iomgr/ev_epollsig_linux_test.cc
@@ -25,7 +25,6 @@
#include <errno.h>
#include <string.h>
#include <unistd.h>
-#include <new>
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
@@ -262,7 +261,7 @@ static void test_threading(void) {
grpc_core::Thread thds[10];
for (auto& th : thds) {
- new (&th) grpc_core::Thread("test_thread", test_threading_loop, &shared);
+ th = grpc_core::Thread("test_thread", test_threading_loop, &shared);
th.Start();
}
grpc_wakeup_fd fd;