diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-04-16 01:44:07 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-04-16 17:39:14 +0200 |
commit | cdd0b4fb7d48b32686d56364cf170569bdb0149d (patch) | |
tree | b094c966b33575eb9f2e441d1705990f45539bec /examples/pdf-parse-content.cc | |
parent | 2a7d2b63c2a7284d1b1179eefbf64f5dd29aa510 (diff) | |
download | qpdf-cdd0b4fb7d48b32686d56364cf170569bdb0149d.tar.zst |
Use = default and = delete where possible in classes
Diffstat (limited to 'examples/pdf-parse-content.cc')
-rw-r--r-- | examples/pdf-parse-content.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/pdf-parse-content.cc b/examples/pdf-parse-content.cc index f1f7ab55..6bc94da2 100644 --- a/examples/pdf-parse-content.cc +++ b/examples/pdf-parse-content.cc @@ -23,10 +23,7 @@ usage() class ParserCallbacks: public QPDFObjectHandle::ParserCallbacks { public: - virtual ~ParserCallbacks() - { - } - + virtual ~ParserCallbacks() = default; virtual void contentSize(size_t); virtual void handleObject(QPDFObjectHandle, size_t offset, size_t length); virtual void handleEOF(); |