Export of internal Abseil changes

--
eb820bdf4121c00a60da406333799cda3222ee4d by Derek Mauro <dmauro@google.com>:

Internal change

PiperOrigin-RevId: 363704749
GitOrigin-RevId: eb820bdf4121c00a60da406333799cda3222ee4d
Change-Id: Ia3bca66b12a1abcf96940292ab4cd8d33d712fb5
pull/920/head
Abseil Team 4 years ago committed by Dino Radaković
parent 090646f973
commit 110a80b0f0
  1. 2
      absl/container/internal/layout.h

@ -597,7 +597,7 @@ class LayoutImpl<std::tuple<Elements...>, absl::index_sequence<SizeSeq...>,
constexpr size_t AllocSize() const {
static_assert(NumTypes == NumSizes, "You must specify sizes of all fields");
return Offset<NumTypes - 1>() +
SizeOf<ElementType<NumTypes - 1>>::value * size_[NumTypes - 1];
SizeOf<ElementType<NumTypes - 1>>::value * size_[NumTypes - 1];
}
// If built with --config=asan, poisons padding bytes (if any) in the

Loading…
Cancel
Save