Skip to content

Commit

Permalink
Add missing DeleteCodedOutputStream function
Browse files Browse the repository at this point in the history
ld.lld: error: undefined symbol: protobuf_native::io::DeleteCodedOutputStream(google::protobuf::io::CodedOutputStream*)
  • Loading branch information
def- authored and benesch committed Feb 13, 2024
1 parent d44c307 commit e44d7a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protobuf-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Versioning].

## [Unreleased] <!-- #release:date -->

* Fix linking by adding the `DeleteCodedOutputStream` function

## [0.2.1+3.19.1] - 2022-01-18

* Fix the file descriptor traversal in
Expand Down
2 changes: 2 additions & 0 deletions protobuf-native/src/io.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,7 @@ CodedInputStream* NewCodedInputStream(ZeroCopyInputStream* input) {

void DeleteCodedInputStream(CodedInputStream* stream) { delete stream; }

void DeleteCodedOutputStream(CodedOutputStream* stream) { delete stream; }

} // namespace io
} // namespace protobuf_native

0 comments on commit e44d7a4

Please sign in to comment.