aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFWriter.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/QPDFWriter.hh')
-rw-r--r--include/qpdf/QPDFWriter.hh8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh
index c5e33fd2..5d3ad5df 100644
--- a/include/qpdf/QPDFWriter.hh
+++ b/include/qpdf/QPDFWriter.hh
@@ -75,14 +75,12 @@ class QPDFWriter
QPDFWriter(QPDF& pdf, char const* description, FILE* file, bool close_file);
QPDF_DLL
- ~QPDFWriter();
+ ~QPDFWriter() = default;
class QPDF_DLL_CLASS ProgressReporter
{
public:
- virtual ~ProgressReporter()
- {
- }
+ virtual ~ProgressReporter() = default;
// This method is called with a value from 0 to 100 to
// indicate approximate progress through the write process.
@@ -718,7 +716,7 @@ class QPDFWriter
private:
Members(QPDF& pdf);
- Members(Members const&);
+ Members(Members const&) = delete;
QPDF& pdf;
char const* filename;