aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2023-05-27 22:04:32 +0200
committerm-holger <m-holger@kubitscheck.org>2023-06-09 16:35:56 +0200
commit320bbb9854a225d9e26ff2a2b42054b48a23b9fe (patch)
tree33c764f2426662fd1ece99559cac9c364a61c435 /include
parentacd0acf16931ce92bc908e4960c5a1e43d53b550 (diff)
downloadqpdf-320bbb9854a225d9e26ff2a2b42054b48a23b9fe.tar.zst
Code tidy - Clang-Tidy rule modernize-return-braced-init-list
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFOutlineObjectHelper.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qpdf/QPDFOutlineObjectHelper.hh b/include/qpdf/QPDFOutlineObjectHelper.hh
index 289941fa..d9868949 100644
--- a/include/qpdf/QPDFOutlineObjectHelper.hh
+++ b/include/qpdf/QPDFOutlineObjectHelper.hh
@@ -81,7 +81,7 @@ class QPDFOutlineObjectHelper: public QPDFObjectHelper
static QPDFOutlineObjectHelper
create(QPDFObjectHandle oh, QPDFOutlineDocumentHelper& dh, int depth)
{
- return QPDFOutlineObjectHelper(oh, dh, depth);
+ return {oh, dh, depth};
}
};