diff options
author | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2023-06-17 17:29:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-17 17:29:21 +0200 |
commit | 0b538ec8779a81d499865a82ffcb4f02f4471743 (patch) | |
tree | 897778e1d6d1d9070a8327db60f5bc5dbfae8a42 /examples/pdf-count-strings.cc | |
parent | 21612165c6c1b49b88786c0232215f2e894254ea (diff) | |
parent | d784e8033c0aafce9becf720dfedf1872c74983e (diff) | |
download | qpdf-0b538ec8779a81d499865a82ffcb4f02f4471743.tar.zst |
Merge pull request #982 from m-holger/cltidy
Apply various Clang-Tidy rules
Diffstat (limited to 'examples/pdf-count-strings.cc')
-rw-r--r-- | examples/pdf-count-strings.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/pdf-count-strings.cc b/examples/pdf-count-strings.cc index 2061a499..2b5b5573 100644 --- a/examples/pdf-count-strings.cc +++ b/examples/pdf-count-strings.cc @@ -26,17 +26,14 @@ usage() class StringCounter: public QPDFObjectHandle::TokenFilter { public: - StringCounter() : - count(0) - { - } + StringCounter() = default; ~StringCounter() override = default; void handleToken(QPDFTokenizer::Token const&) override; void handleEOF() override; int getCount() const; private: - int count; + int count{0}; }; void |