diff options
Diffstat (limited to 'examples/pdf-count-strings.cc')
-rw-r--r-- | examples/pdf-count-strings.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/pdf-count-strings.cc b/examples/pdf-count-strings.cc index 2061a499..2e2ef8bf 100644 --- a/examples/pdf-count-strings.cc +++ b/examples/pdf-count-strings.cc @@ -26,8 +26,7 @@ usage() class StringCounter: public QPDFObjectHandle::TokenFilter { public: - StringCounter() : - count(0) + StringCounter() { } ~StringCounter() override = default; @@ -36,7 +35,7 @@ class StringCounter: public QPDFObjectHandle::TokenFilter int getCount() const; private: - int count; + int count{0}; }; void |