Commit c18ee440a38c7078e92c917bbe8fe1ad290a292d
1 parent
c2030d1f
mingw workaround for QPDFExc destructor
mingw doesn't like it when you don't inline empty virtual destructors.
Showing
2 changed files
with
3 additions
and
5 deletions
include/qpdf/QPDFExc.hh
| ... | ... | @@ -39,7 +39,9 @@ class QPDFExc: public std::runtime_error |
| 39 | 39 | qpdf_offset_t offset, |
| 40 | 40 | std::string const& message); |
| 41 | 41 | QPDF_DLL |
| 42 | - virtual ~QPDFExc() throw (); | |
| 42 | + virtual ~QPDFExc() throw () | |
| 43 | + { | |
| 44 | + } | |
| 43 | 45 | |
| 44 | 46 | // To get a complete error string, call what(), provided by |
| 45 | 47 | // std::exception. The accessors below return the original values | ... | ... |