diff options
Diffstat (limited to 'libqpdf/qpdf')
-rw-r--r-- | libqpdf/qpdf/QPDF_Array.hh | 2 | ||||
-rw-r--r-- | libqpdf/qpdf/SparseOHArray.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/qpdf/QPDF_Array.hh b/libqpdf/qpdf/QPDF_Array.hh index 558704c7..4947d09c 100644 --- a/libqpdf/qpdf/QPDF_Array.hh +++ b/libqpdf/qpdf/QPDF_Array.hh @@ -27,7 +27,7 @@ class QPDF_Array: public QPDFValue { return sparse ? sp_elements.size() : int(elements.size()); } - QPDFObjectHandle getItem(int n) const; + QPDFObjectHandle at(int n) const noexcept; void getAsVector(std::vector<QPDFObjectHandle>&) const; void setItem(int, QPDFObjectHandle const&); diff --git a/libqpdf/qpdf/SparseOHArray.hh b/libqpdf/qpdf/SparseOHArray.hh index 468e3a39..80de95e5 100644 --- a/libqpdf/qpdf/SparseOHArray.hh +++ b/libqpdf/qpdf/SparseOHArray.hh @@ -12,7 +12,7 @@ class SparseOHArray public: SparseOHArray() = default; int - size() const + size() const noexcept { return n_elements; } |