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-count-strings.cc | |
parent | 2a7d2b63c2a7284d1b1179eefbf64f5dd29aa510 (diff) | |
download | qpdf-cdd0b4fb7d48b32686d56364cf170569bdb0149d.tar.zst |
Use = default and = delete where possible in classes
Diffstat (limited to 'examples/pdf-count-strings.cc')
-rw-r--r-- | examples/pdf-count-strings.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/pdf-count-strings.cc b/examples/pdf-count-strings.cc index a52b7a37..23f4b6cb 100644 --- a/examples/pdf-count-strings.cc +++ b/examples/pdf-count-strings.cc @@ -32,9 +32,7 @@ class StringCounter: public QPDFObjectHandle::TokenFilter count(0) { } - virtual ~StringCounter() - { - } + virtual ~StringCounter() = default; virtual void handleToken(QPDFTokenizer::Token const&); virtual void handleEOF(); int getCount() const; |