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 diff --git a/libqpdf/QPDFExc.cc b/libqpdf/QPDFExc.cc index b816e913..77de5bba 100644 --- a/libqpdf/QPDFExc.cc +++ b/libqpdf/QPDFExc.cc @@ -15,10 +15,6 @@ QPDFExc::QPDFExc(qpdf_error_code_e error_code, { } -QPDFExc::~QPDFExc() throw () -{ -} - std::string QPDFExc::createWhat(std::string const& filename, std::string const& object,