Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions src/google/protobuf/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2293,6 +2293,35 @@ cc_test(
],
)

cc_test(
name = "repeated_ptr_field_unittest",
srcs = ["repeated_ptr_field_unittest.cc"],
copts = COPTS + select({
"//build_defs:config_msvc": [],
"//conditions:default": [
"-Wno-deprecated-declarations",
],
}),
deps = [
":cc_test_protos",
":internal_visibility_for_testing",
":lite_test_util",
":port",
":protobuf",
":protobuf_lite",
"//src/google/protobuf/io",
"//src/google/protobuf/stubs",
"//src/google/protobuf/testing",
"//src/google/protobuf/testing:file",
"@abseil-cpp//absl/base:config",
"@abseil-cpp//absl/log:absl_check",
"@abseil-cpp//absl/numeric:bits",
"@abseil-cpp//absl/strings",
"@googletest//:gtest",
"@googletest//:gtest_main",
],
)

cc_test(
name = "text_format_unittest",
srcs = ["text_format_unittest.cc"],
Expand Down
2 changes: 1 addition & 1 deletion src/google/protobuf/repeated_ptr_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ class PROTOBUF_EXPORT RepeatedPtrFieldBase {

// FieldWithArena needs to call our protected internal metadata offset
// constructors.
friend class internal::FieldWithArena<RepeatedPtrFieldBase>;
friend class internal::FieldWithArena<RepeatedPtrFieldBase>;/* */

friend google::protobuf::Arena;

Expand Down
Loading