Skip to content

Commit

Permalink
Set PROTOBUF_EXPORT on InternalOutOfLineDeleteMessageLite() (#14434)
Browse files Browse the repository at this point in the history
This function needs to be visible to generated code, so this CL ensures that
it's exported on libprotobuf.so.

PiperOrigin-RevId: 573980166
  • Loading branch information
acozzette authored Oct 17, 2023
1 parent ada0be8 commit db89a51
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -863,7 +863,7 @@ void RepeatedPtrFieldBase::MergeFrom<std::string>(
const RepeatedPtrFieldBase& from);


void InternalOutOfLineDeleteMessageLite(MessageLite* message);
PROTOBUF_EXPORT void InternalOutOfLineDeleteMessageLite(MessageLite* message);

template <typename GenericType>
class GenericTypeHandler {
Expand Down

0 comments on commit db89a51

Please sign in to comment.