aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/InputSource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/InputSource.cc')
-rw-r--r--libqpdf/InputSource.cc2
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