Skip to content

Commit

Permalink
fix: compatibility with qpdf v10 (#62)
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm authored Nov 21, 2024
1 parent 13c31b3 commit 7f87b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v2/qpdf/to_json.h
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ namespace pdflib

if(metadata.isStream())
{
std::shared_ptr<Buffer> ptr = metadata.getStreamData(qpdf_dl_all);
auto ptr = metadata.getStreamData(qpdf_dl_all);

// Convert raw data to std::string
std::string content(reinterpret_cast<const char*>(ptr->getBuffer()), ptr->getSize());
Expand Down

0 comments on commit 7f87b26

Please sign in to comment.