Skip to content

Commit

Permalink
Revert "Remove RepeatedPtrField from extern template"
Browse files Browse the repository at this point in the history
This reverts commit 16c1c33.
  • Loading branch information
PeterJohnson committed Nov 23, 2023
1 parent 152dd76 commit 185bdd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1959,6 +1959,9 @@ UnsafeArenaAllocatedRepeatedPtrFieldBackInserter(
mutable_field);
}

extern template class PROTOBUF_EXPORT_TEMPLATE_DECLARE
RepeatedPtrField<std::string>;

} // namespace protobuf
} // namespace google

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ template class PROTOBUF_EXPORT_TEMPLATE_DEFINE RepeatedField<int64_t>;
template class PROTOBUF_EXPORT_TEMPLATE_DEFINE RepeatedField<uint64_t>;
template class PROTOBUF_EXPORT_TEMPLATE_DEFINE RepeatedField<float>;
template class PROTOBUF_EXPORT_TEMPLATE_DEFINE RepeatedField<double>;
template class PROTOBUF_EXPORT_TEMPLATE_DEFINE RepeatedPtrField<std::string>;

namespace internal {
template class PROTOBUF_EXPORT_TEMPLATE_DEFINE RepeatedIterator<bool>;
Expand Down

0 comments on commit 185bdd8

Please sign in to comment.