aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-01-19 15:43:19 +0100
committerJay Berkenbilt <ejb@ql.org>2019-01-19 16:14:07 +0100
commitc18ee440a38c7078e92c917bbe8fe1ad290a292d (patch)
treea4b60f044c9cee0f6e6a1f26be6949c2007cd880 /include
parentc2030d1f333b9403cfb15460c4b9ca9fcb446021 (diff)
downloadqpdf-c18ee440a38c7078e92c917bbe8fe1ad290a292d.tar.zst
mingw workaround for QPDFExc destructor
mingw doesn't like it when you don't inline empty virtual destructors.
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFExc.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/qpdf/QPDFExc.hh b/include/qpdf/QPDFExc.hh
index b97fca9d..fe0aa1d5 100644
--- a/include/qpdf/QPDFExc.hh
+++ b/include/qpdf/QPDFExc.hh
@@ -39,7 +39,9 @@ class QPDFExc: public std::runtime_error
qpdf_offset_t offset,
std::string const& message);
QPDF_DLL
- virtual ~QPDFExc() throw ();
+ virtual ~QPDFExc() throw ()
+ {
+ }
// To get a complete error string, call what(), provided by
// std::exception. The accessors below return the original values