diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-08-18 04:28:19 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-08-18 15:00:40 +0200 |
commit | 522d2b2227cbc8edc1b7404f2e3980a28d216988 (patch) | |
tree | e41408f860be3d0ae1c7fd4e6d632af914d60924 /libqpdf/SparseOHArray.cc | |
parent | 5187a3ec85f1a83cbde9e77227e215a2dbcfccb0 (diff) | |
download | qpdf-522d2b2227cbc8edc1b7404f2e3980a28d216988.tar.zst |
Improve efficiency of fixDanglingReferences
Diffstat (limited to 'libqpdf/SparseOHArray.cc')
-rw-r--r-- | libqpdf/SparseOHArray.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libqpdf/SparseOHArray.cc b/libqpdf/SparseOHArray.cc index 2c525ca8..76c7c224 100644 --- a/libqpdf/SparseOHArray.cc +++ b/libqpdf/SparseOHArray.cc @@ -141,3 +141,15 @@ SparseOHArray::insert(size_t idx, QPDFObjectHandle oh) ++this->n_elements; } } + +SparseOHArray::const_iterator +SparseOHArray::begin() const +{ + return this->elements.begin(); +} + +SparseOHArray::const_iterator +SparseOHArray::end() const +{ + return this->elements.end(); +} |