From 54726930dffa78f84ab3447cbe464b587694674e Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 3 Apr 2020 12:06:23 -0400 Subject: Remove redundant methods in QUtil This was being saved until we had to break ABI. --- include/qpdf/QUtil.hh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'include') 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 read_lines_from_file(char const* filename); - // ABI: make preserve_eol an optional arg and remove single-arg version - QPDF_DLL std::list read_lines_from_file( - char const* filename, bool preserve_eol); - QPDF_DLL - std::list 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 read_lines_from_file( - std::istream&, bool preserve_eol); + std::istream&, bool preserve_eol = false); QPDF_DLL std::list read_lines_from_file( FILE*, bool preserve_eol = false); -- cgit v1.2.3-54-g00ecf