Skip to content

Commit a739f21

Browse files
tonyliaosscopybara-github
authored andcommitted
Internal Change.
PiperOrigin-RevId: 807916480
1 parent c4ab223 commit a739f21

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/google/protobuf/repeated_field.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ inline void RepeatedField<Element>::Resize(int new_size, const Element& value) {
830830
template <typename Element>
831831
inline const Element& RepeatedField<Element>::Get(int index) const
832832
ABSL_ATTRIBUTE_LIFETIME_BOUND {
833-
internal::RuntimeAssertInBounds(index, size());
833+
internal::RuntimeAssertInBounds(index, size());
834834
return elements(is_soo())[index];
835835
}
836836

@@ -853,7 +853,7 @@ inline Element& RepeatedField<Element>::at(int index)
853853
template <typename Element>
854854
inline Element* RepeatedField<Element>::Mutable(int index)
855855
ABSL_ATTRIBUTE_LIFETIME_BOUND {
856-
internal::RuntimeAssertInBounds(index, size());
856+
internal::RuntimeAssertInBounds(index, size());
857857
return &elements(is_soo())[index];
858858
}
859859

@@ -1284,7 +1284,6 @@ template <>
12841284
PROTOBUF_EXPORT size_t
12851285
RepeatedField<absl::Cord>::SpaceUsedExcludingSelfLong() const;
12861286

1287-
12881287
// -------------------------------------------------------------------
12891288

12901289
// Iterators and helper functions that follow the spirit of the STL

0 commit comments

Comments
 (0)