summaryrefslogtreecommitdiffstats
path: root/libtests/json_parse.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-05-20 17:29:09 +0200
committerGitHub <noreply@github.com>2023-05-20 17:29:09 +0200
commitfd17c8e3fe38a56abf50ce0edec1cde48d4f74cb (patch)
treec1efea1b140cac94dbaf496ae6ec5e0a621daa07 /libtests/json_parse.cc
parenta6d7b79e65941238871c0c3d7d06b9bf246213ba (diff)
parente6577a1323cd813a92ddbc8841e1342c05de071a (diff)
downloadqpdf-fd17c8e3fe38a56abf50ce0edec1cde48d4f74cb.tar.zst
Merge pull request #963 from m-holger/tidy
Code tidy
Diffstat (limited to 'libtests/json_parse.cc')
-rw-r--r--libtests/json_parse.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/libtests/json_parse.cc b/libtests/json_parse.cc
index 721b17de..31381ebf 100644
--- a/libtests/json_parse.cc
+++ b/libtests/json_parse.cc
@@ -1,6 +1,5 @@
#include <qpdf/FileInputSource.hh>
#include <qpdf/JSON.hh>
-#include <qpdf/QUtil.hh>
#include <cstdlib>
#include <cstring>
#include <iostream>
@@ -12,13 +11,13 @@ namespace
{
public:
virtual ~Reactor() = default;
- virtual void dictionaryStart() override;
- virtual void arrayStart() override;
- virtual void containerEnd(JSON const& value) override;
- virtual void topLevelScalar() override;
- virtual bool
+ void dictionaryStart() override;
+ void arrayStart() override;
+ void containerEnd(JSON const& value) override;
+ void topLevelScalar() override;
+ bool
dictionaryItem(std::string const& key, JSON const& value) override;
- virtual bool arrayItem(JSON const& value) override;
+ bool arrayItem(JSON const& value) override;
private:
void printItem(JSON const&);