aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2023-06-01 15:47:36 +0200
committerm-holger <m-holger@kubitscheck.org>2023-06-09 16:45:14 +0200
commitae3642ce42e23bc454ee81e6383100b696670b37 (patch)
tree6517c1bebf3f28e174f25205dcf781399cffd5cd /examples
parent5906dd5c1f050af5d6eb2b9e9e5a0099e44b3ae6 (diff)
downloadqpdf-ae3642ce42e23bc454ee81e6383100b696670b37.tar.zst
Code tidy - Clang-Tidy rule modernize-use-equals-default
Diffstat (limited to 'examples')
-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 2e2ef8bf..2b5b5573 100644
--- a/examples/pdf-count-strings.cc
+++ b/examples/pdf-count-strings.cc
@@ -26,9 +26,7 @@ usage()
class StringCounter: public QPDFObjectHandle::TokenFilter
{
public:
- StringCounter()
- {
- }
+ StringCounter() = default;
~StringCounter() override = default;
void handleToken(QPDFTokenizer::Token const&) override;
void handleEOF() override;