aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFWriter.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-16 01:44:07 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-16 17:39:14 +0200
commitcdd0b4fb7d48b32686d56364cf170569bdb0149d (patch)
treeb094c966b33575eb9f2e441d1705990f45539bec /include/qpdf/QPDFWriter.hh
parent2a7d2b63c2a7284d1b1179eefbf64f5dd29aa510 (diff)
downloadqpdf-cdd0b4fb7d48b32686d56364cf170569bdb0149d.tar.zst
Use = default and = delete where possible in classes
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;