diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index f3ce4684..146015dc 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -998,7 +998,8 @@ class QPDF class JSONReactor: public JSON::Reactor { public: - JSONReactor(QPDF&, std::string const& filename, bool must_be_complete); + JSONReactor( + QPDF&, std::shared_ptr<InputSource> is, bool must_be_complete); virtual ~JSONReactor() = default; virtual void dictionaryStart() override; virtual void arrayStart() override; @@ -1033,7 +1034,7 @@ class QPDF QPDFObjectHandle to_replace, QPDFObjectHandle replacement); QPDF& pdf; - std::string filename; + std::shared_ptr<InputSource> is; bool must_be_complete; bool errors; bool parse_error; |