aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Destroyed.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF_Destroyed.cc')
-rw-r--r--libqpdf/QPDF_Destroyed.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Destroyed.cc b/libqpdf/QPDF_Destroyed.cc
index 4e34b508..06d1a83c 100644
--- a/libqpdf/QPDF_Destroyed.cc
+++ b/libqpdf/QPDF_Destroyed.cc
@@ -34,3 +34,9 @@ QPDF_Destroyed::getJSON(int json_version)
throw std::logic_error("attempted to get JSON from a QPDFObjectHandle from a destroyed QPDF");
return JSON::makeNull();
}
+
+void
+QPDF_Destroyed::writeJSON(int json_version, JSON::Writer& p)
+{
+ throw std::logic_error("attempted to get JSON from a QPDFObjectHandle from a destroyed QPDF");
+} \ No newline at end of file