X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fexport_failed.h;h=16687826b169689317f6fd8a69342156f7876dcb;hb=2a6dcddcc513fa3ebc1aad4b2e5fede62277aba5;hp=1b375f3cb82f5c5856cc03594be13942489e56ed;hpb=6b50ba341da426805ce3c92609c0fa12c52b67ac;p=ardour.git diff --git a/libs/ardour/ardour/export_failed.h b/libs/ardour/ardour/export_failed.h index 1b375f3cb8..16687826b1 100644 --- a/libs/ardour/ardour/export_failed.h +++ b/libs/ardour/ardour/export_failed.h @@ -23,11 +23,6 @@ #include #include -#include - -#include "i18n.h" - -using namespace PBD; namespace ARDOUR { @@ -35,19 +30,14 @@ namespace ARDOUR class ExportFailed : public std::exception { public: - ExportFailed (std::string const & reason) : - reason (reason.c_str()) - { - 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;