Skip to content

Commit 96c1a7d

Browse files
martijnvelsmkruskal-google
authored andcommitted
Add dependency on absl::layout, and explicitly include absl layout includes
This header was transitively included from (deprecated) absl cord includes. PiperOrigin-RevId: 562008066
1 parent d3c44a4 commit 96c1a7d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/google/protobuf/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ cc_library(
331331
":arena_cleanup",
332332
":string_block",
333333
"//src/google/protobuf/stubs:lite",
334+
"@com_google_absl//absl/container:layout",
334335
"@com_google_absl//absl/log:absl_check",
335336
"@com_google_absl//absl/log:absl_log",
336337
"@com_google_absl//absl/synchronization",

src/google/protobuf/arena.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#include <vector>
4141

4242
#include "absl/base/attributes.h"
43+
#include "absl/container/internal/layout.h"
4344
#include "absl/synchronization/mutex.h"
4445
#include "google/protobuf/arena_allocation_policy.h"
4546
#include "google/protobuf/arenaz_sampler.h"

0 commit comments

Comments
 (0)