mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 15:17:29 +00:00
mingw workaround for QPDFExc destructor
mingw doesn't like it when you don't inline empty virtual destructors.
This commit is contained in:
parent
c2030d1f33
commit
c18ee440a3
@ -39,7 +39,9 @@ class QPDFExc: public std::runtime_error
|
|||||||
qpdf_offset_t offset,
|
qpdf_offset_t offset,
|
||||||
std::string const& message);
|
std::string const& message);
|
||||||
QPDF_DLL
|
QPDF_DLL
|
||||||
virtual ~QPDFExc() throw ();
|
virtual ~QPDFExc() throw ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
// To get a complete error string, call what(), provided by
|
// To get a complete error string, call what(), provided by
|
||||||
// std::exception. The accessors below return the original values
|
// std::exception. The accessors below return the original values
|
||||||
|
@ -15,10 +15,6 @@ QPDFExc::QPDFExc(qpdf_error_code_e error_code,
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
QPDFExc::~QPDFExc() throw ()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string
|
std::string
|
||||||
QPDFExc::createWhat(std::string const& filename,
|
QPDFExc::createWhat(std::string const& filename,
|
||||||
std::string const& object,
|
std::string const& object,
|
||||||
|
Loading…
Reference in New Issue
Block a user