aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFOutlineObjectHelper.cc
diff options
context:
space:
mode:
authorThorsten Schöning <6223655+ams-tschoening@users.noreply.github.com>2019-07-03 19:34:02 +0200
committerJay Berkenbilt <ejb@ql.org>2019-07-04 02:08:47 +0200
commit8f06da75343a5e970ff7a6f275c319172e6292d0 (patch)
tree13782f4c3cdc2966cfab5e4dbd064c3ff52dbaba /libqpdf/QPDFOutlineObjectHelper.cc
parent4db1de97cea9dfab3f3abe43766053ba0d594610 (diff)
downloadqpdf-8f06da75343a5e970ff7a6f275c319172e6292d0.tar.zst
Change list to vector for outline helpers (fixes #297)
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.
Diffstat (limited to 'libqpdf/QPDFOutlineObjectHelper.cc')
-rw-r--r--libqpdf/QPDFOutlineObjectHelper.cc2
1 files changed, 1 insertions, 1 deletions
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<QPDFOutlineObjectHelper>
+std::vector<QPDFOutlineObjectHelper>
QPDFOutlineObjectHelper::getKids()
{
return this->m->kids;