aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pdf-parse-content.cc
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 /examples/pdf-parse-content.cc
parent2a7d2b63c2a7284d1b1179eefbf64f5dd29aa510 (diff)
downloadqpdf-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.cc5
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();