diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QUtil.hh | 10 |
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); |