Skip to content

Commit

Permalink
Export of internal Abseil changes
Browse files Browse the repository at this point in the history
--
eb820bdf4121c00a60da406333799cda3222ee4d by Derek Mauro <[email protected]>:

Internal change

PiperOrigin-RevId: 363704749
GitOrigin-RevId: eb820bdf4121c00a60da406333799cda3222ee4d
Change-Id: Ia3bca66b12a1abcf96940292ab4cd8d33d712fb5
  • Loading branch information
Abseil Team authored and dinord committed Mar 19, 2021
1 parent 090646f commit 110a80b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absl/container/internal/layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 110a80b

Please sign in to comment.