aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pdf-count-strings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pdf-count-strings.cc')
-rw-r--r--examples/pdf-count-strings.cc4
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;