Преглед изворни кода

REVERT THIS: fix alignment to fix tests for now

ncteisen пре 7 година
родитељ
комит
1f325781bc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/core/lib/gprpp/memory.h

+ 1 - 1
src/core/lib/gprpp/memory.h

@@ -41,7 +41,7 @@
 namespace grpc_core {
 
 // The alignment of memory returned by gpr_malloc().
-constexpr size_t kAlignmentForDefaultAllocationInBytes = 8;
+constexpr size_t kAlignmentForDefaultAllocationInBytes = 16;
 
 // Alternative to new, since we cannot use it (for fear of libstdc++)
 template <typename T, typename... Args>