diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-01-19 15:43:19 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-01-19 16:14:07 +0100 |
commit | c18ee440a38c7078e92c917bbe8fe1ad290a292d (patch) | |
tree | a4b60f044c9cee0f6e6a1f26be6949c2007cd880 /include | |
parent | c2030d1f333b9403cfb15460c4b9ca9fcb446021 (diff) | |
download | qpdf-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.hh | 4 |
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 |