Procházet zdrojové kódy

Revert "REVERT THIS: fix alignment to fix tests for now"

This reverts commit 1f325781bced4f6311462cf4e7682aa99ea34d0b.
ncteisen před 7 roky
rodič
revize
c0f110b398
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 = 16;
+constexpr size_t kAlignmentForDefaultAllocationInBytes = 8;
 
 // Alternative to new, since we cannot use it (for fear of libstdc++)
 template <typename T, typename... Args>