diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-05-28 00:49:18 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-06-09 16:42:11 +0200 |
commit | 7bc0f1d828eccbc5a277b75aedc85b7523919f87 (patch) | |
tree | bdf203f336bc7671cf4f650a9bf142f5b72dd6f6 /libqpdf/QPDFPageObjectHelper.cc | |
parent | 22c6b8ccbc9693d2e9c9015a976188fc1e00e517 (diff) | |
download | qpdf-7bc0f1d828eccbc5a277b75aedc85b7523919f87.tar.zst |
Code tidy - Clang-Tidy rule modernize-use-emplace
Diffstat (limited to 'libqpdf/QPDFPageObjectHelper.cc')
-rw-r--r-- | libqpdf/QPDFPageObjectHelper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFPageObjectHelper.cc b/libqpdf/QPDFPageObjectHelper.cc index 65955e8b..44ffd2cf 100644 --- a/libqpdf/QPDFPageObjectHelper.cc +++ b/libqpdf/QPDFPageObjectHelper.cc @@ -451,7 +451,7 @@ QPDFPageObjectHelper::getAnnotations(std::string const& only_subtype) for (int i = 0; i < nannots; ++i) { QPDFObjectHandle annot = annots.getArrayItem(i); if (annot.isDictionaryOfType("", only_subtype)) { - result.push_back(QPDFAnnotationObjectHelper(annot)); + result.emplace_back(annot); } } } |