aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFObjectHelper.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-10-06 14:05:48 +0200
committerJay Berkenbilt <ejb@ql.org>2022-10-06 14:40:08 +0200
commit5c5b4e640e2df248192ff7aa518fb0d345884a33 (patch)
tree1f2a331ee8f0aa8cba685b0192d093238a919e7e /libqpdf/QPDFObjectHelper.cc
parentdb6598b449f4edbb69a581ecc8bc6791e24ad3ea (diff)
downloadqpdf-5c5b4e640e2df248192ff7aa518fb0d345884a33.tar.zst
Be more conservative about QPDF_DLL_CLASS with mingw (fixes #799)
* Define it even though previous experiments have shown it to be unnecessary since it seems like it may be necessary after all * Add QPDF_DLL_CLASS to QPDFObjectHelper and QPDFDocumentHelper in case there's some future unknown reason why someone may want to have them and/or in case it helps with the weird QPDFNameTreeObjectHelper problem.
Diffstat (limited to 'libqpdf/QPDFObjectHelper.cc')
-rw-r--r--libqpdf/QPDFObjectHelper.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/libqpdf/QPDFObjectHelper.cc b/libqpdf/QPDFObjectHelper.cc
new file mode 100644
index 00000000..3696dc03
--- /dev/null
+++ b/libqpdf/QPDFObjectHelper.cc
@@ -0,0 +1,7 @@
+#include <qpdf/QPDFObjectHelper.hh>
+
+QPDFObjectHelper::~QPDFObjectHelper()
+{
+ // Must be explicit and not inline -- see QPDF_DLL_CLASS in
+ // README-maintainer
+}