From 8f06da75343a5e970ff7a6f275c319172e6292d0 Mon Sep 17 00:00:00 2001 From: Thorsten Schöning <6223655+ams-tschoening@users.noreply.github.com> Date: Wed, 3 Jul 2019 19:34:02 +0200 Subject: Change list to vector for outline helpers (fixes #297) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change works around STL problems with Embarcadero C++ Builder version 10.2, but std::vector is more common than std::list in qpdf, and this is a relatively new API, so an API change is tolerable. Thanks to Thorsten Schöning <6223655+ams-tschoening@users.noreply.github.com> for the fix. --- libqpdf/QPDFOutlineObjectHelper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf/QPDFOutlineObjectHelper.cc') diff --git a/libqpdf/QPDFOutlineObjectHelper.cc b/libqpdf/QPDFOutlineObjectHelper.cc index 6cdd182e..c06c63d8 100644 --- a/libqpdf/QPDFOutlineObjectHelper.cc +++ b/libqpdf/QPDFOutlineObjectHelper.cc @@ -45,7 +45,7 @@ QPDFOutlineObjectHelper::getParent() return this->m->parent; } -std::list +std::vector QPDFOutlineObjectHelper::getKids() { return this->m->kids; -- cgit v1.2.3-70-g09d2