Skip to content

Commit

Permalink
Add dependency on absl::layout, and explicitly include absl layout in…
Browse files Browse the repository at this point in the history
…cludes

This header was transitively included from (deprecated) absl cord includes.

PiperOrigin-RevId: 562008066
  • Loading branch information
martijnvels authored and mkruskal-google committed Sep 11, 2023
1 parent d3c44a4 commit 96c1a7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/google/protobuf/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ cc_library(
":arena_cleanup",
":string_block",
"//src/google/protobuf/stubs:lite",
"@com_google_absl//absl/container:layout",
"@com_google_absl//absl/log:absl_check",
"@com_google_absl//absl/log:absl_log",
"@com_google_absl//absl/synchronization",
Expand Down
1 change: 1 addition & 0 deletions src/google/protobuf/arena.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <vector>

#include "absl/base/attributes.h"
#include "absl/container/internal/layout.h"
#include "absl/synchronization/mutex.h"
#include "google/protobuf/arena_allocation_policy.h"
#include "google/protobuf/arenaz_sampler.h"
Expand Down

0 comments on commit 96c1a7d

Please sign in to comment.