mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-09 07:08:31 +00:00
Store last used id as a data member. Update when calling next_id / inserting a new object (which only occurs in make_indirect and get_for_json). Add new methods initialize to calculate the initial value for last_id and last_id to query it. Use initialize in QPDF::fixDanglingReferences, which is redundant. Refactor make_indirect to use update_table.