aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/gpr/cpu_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/gpr/cpu_test.cc')
-rw-r--r--test/core/gpr/cpu_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/gpr/cpu_test.cc b/test/core/gpr/cpu_test.cc
index 4575fb643a..279e6e6f5a 100644
--- a/test/core/gpr/cpu_test.cc
+++ b/test/core/gpr/cpu_test.cc
@@ -23,9 +23,9 @@
#include <grpc/support/cpu.h>
-#include <new>
#include <stdio.h>
#include <string.h>
+#include <new>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
@@ -115,7 +115,7 @@ static void cpu_test(void) {
uint32_t nthreads = ct.ncores * 3;
grpc_core::Thread* thd =
- static_cast<grpc_core::Thread*>(gpr_malloc(sizeof(*thd)*nthreads));
+ static_cast<grpc_core::Thread*>(gpr_malloc(sizeof(*thd) * nthreads));
for (i = 0; i < nthreads; i++) {
new (&thd[i]) grpc_core::Thread("grpc_cpu_test", &worker_thread, &ct);