aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Array.hh
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2023-01-02 20:49:42 +0100
committerm-holger <m-holger@kubitscheck.org>2023-04-01 14:57:22 +0200
commit5072238867f37f6c6ecd53dab06e42ea2763cf56 (patch)
tree897f1429131abed187c4712120236278c3ad77cc /libqpdf/qpdf/QPDF_Array.hh
parente186da17213826ae22b73584641d2e8cd10b24d5 (diff)
downloadqpdf-5072238867f37f6c6ecd53dab06e42ea2763cf56.tar.zst
Refactor QPDF_Array::getAsVector
Diffstat (limited to 'libqpdf/qpdf/QPDF_Array.hh')
-rw-r--r--libqpdf/qpdf/QPDF_Array.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/qpdf/QPDF_Array.hh b/libqpdf/qpdf/QPDF_Array.hh
index f4d1fc3d..df814d74 100644
--- a/libqpdf/qpdf/QPDF_Array.hh
+++ b/libqpdf/qpdf/QPDF_Array.hh
@@ -29,7 +29,7 @@ class QPDF_Array: public QPDFValue
}
QPDFObjectHandle at(int n) const noexcept;
bool setAt(int n, QPDFObjectHandle const& oh);
- void getAsVector(std::vector<QPDFObjectHandle>&) const;
+ std::vector<QPDFObjectHandle> getAsVector() const;
void setFromVector(std::vector<QPDFObjectHandle> const& items);
void setFromVector(std::vector<std::shared_ptr<QPDFObject>>&& items);
bool insert(int at, QPDFObjectHandle const& item);