diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-05-27 22:04:32 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-06-09 16:35:56 +0200 |
commit | 320bbb9854a225d9e26ff2a2b42054b48a23b9fe (patch) | |
tree | 33c764f2426662fd1ece99559cac9c364a61c435 /libqpdf/InputSource.cc | |
parent | acd0acf16931ce92bc908e4960c5a1e43d53b550 (diff) | |
download | qpdf-320bbb9854a225d9e26ff2a2b42054b48a23b9fe.tar.zst |
Code tidy - Clang-Tidy rule modernize-return-braced-init-list
Diffstat (limited to 'libqpdf/InputSource.cc')
-rw-r--r-- | libqpdf/InputSource.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/InputSource.cc b/libqpdf/InputSource.cc index f5dc7706..9389c2f5 100644 --- a/libqpdf/InputSource.cc +++ b/libqpdf/InputSource.cc @@ -37,7 +37,7 @@ InputSource::readLine(size_t max_line_length) if (line_length < max_line_length) { buf[line_length] = '\0'; } - return std::string(buf); + return {buf}; } bool |