aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QUtil.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-04-03 18:06:23 +0200
committerJay Berkenbilt <ejb@ql.org>2020-04-03 18:17:57 +0200
commit54726930dffa78f84ab3447cbe464b587694674e (patch)
treee4ce1c5f37eabd7dc0107206929e5d3e2e46cf53 /include/qpdf/QUtil.hh
parentda1258e2e679bc8b9471b5d9ff35d8473e76e062 (diff)
downloadqpdf-54726930dffa78f84ab3447cbe464b587694674e.tar.zst
Remove redundant methods in QUtil
This was being saved until we had to break ABI.
Diffstat (limited to 'include/qpdf/QUtil.hh')
-rw-r--r--include/qpdf/QUtil.hh10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh
index e44f95a2..fa6a76aa 100644
--- a/include/qpdf/QUtil.hh
+++ b/include/qpdf/QUtil.hh
@@ -313,17 +313,11 @@ namespace QUtil
// Filename is UTF-8 encoded, even on Windows, as described in the
// comments for safe_fopen.
QPDF_DLL
- std::list<std::string> read_lines_from_file(char const* filename);
- // ABI: make preserve_eol an optional arg and remove single-arg version
- QPDF_DLL
std::list<std::string> read_lines_from_file(
- char const* filename, bool preserve_eol);
- QPDF_DLL
- std::list<std::string> read_lines_from_file(std::istream&);
- // ABI: make preserve_eol an optional arg and remove single-arg version
+ char const* filename, bool preserve_eol = false);
QPDF_DLL
std::list<std::string> read_lines_from_file(
- std::istream&, bool preserve_eol);
+ std::istream&, bool preserve_eol = false);
QPDF_DLL
std::list<std::string> read_lines_from_file(
FILE*, bool preserve_eol = false);