X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fexport_failed.h;h=16687826b169689317f6fd8a69342156f7876dcb;hb=5bc4e54b7da3eb139d699c6e371d43540c69b519;hp=63256b458e67c8fb7d670c4043ddd6e68e651030;hpb=3b89d9eaa03406a5e03648f47734211f09b89d62;p=ardour.git diff --git a/libs/ardour/ardour/export_failed.h b/libs/ardour/ardour/export_failed.h index 63256b458e..16687826b1 100644 --- a/libs/ardour/ardour/export_failed.h +++ b/libs/ardour/ardour/export_failed.h @@ -23,9 +23,6 @@ #include #include -#include "pbd/error.h" - -#include "i18n.h" namespace ARDOUR { @@ -33,19 +30,14 @@ namespace ARDOUR class ExportFailed : public std::exception { public: - ExportFailed (std::string const & reason) : - reason (reason.c_str()) - { - PBD::error << string_compose (_("Export failed: %1"), reason) << endmsg; - } - + ExportFailed (std::string const &); ~ExportFailed () throw() { } - + const char* what() const throw() { return reason; } - + private: const char * reason;