summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_handler.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-18 04:09:26 +0200
committerRobin Gareus <robin@gareus.org>2019-09-18 04:15:02 +0200
commit7f3f201833408e0dcc75ea9d3ce1c082351f9282 (patch)
tree39aae1f4cb45d99548b042e59749e72d982a6ca6 /libs/ardour/ardour/export_handler.h
parentad8f21763e7ecfeafefaca00dd5fdbd8d2f588f6 (diff)
Remove "i18n.h" include from header - fix builds
i18n alsways needs to be included last. This fixes an ambiguity of "_" boost/function_types/detail/class_transform.hpp:23:26: error: ‘boost::mpl::placeholders::_’ has not been declared using mpl::placeholders::_;
Diffstat (limited to 'libs/ardour/ardour/export_handler.h')
-rw-r--r--libs/ardour/ardour/export_handler.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/libs/ardour/ardour/export_handler.h b/libs/ardour/ardour/export_handler.h
index 57243414fc..1178eb9e79 100644
--- a/libs/ardour/ardour/export_handler.h
+++ b/libs/ardour/ardour/export_handler.h
@@ -37,8 +37,6 @@
#include "ardour/types.h"
#include "pbd/signals.h"
-#include "pbd/i18n.h"
-
namespace AudioGrapher {
class BroadcastInfo;
}
@@ -178,12 +176,7 @@ class LIBARDOUR_API ExportHandler : public ExportElementFactory, public sigc::tr
, index_position (0)
{}
- ~CDMarkerStatus () {
- if (!g_file_set_contents (path.c_str(), out.str().c_str(), -1, NULL)) {
- PBD::error << string_compose(_("Editor: cannot open \"%1\" as export file for CD marker file"), path) << endmsg;
- }
-
- }
+ ~CDMarkerStatus ();
/* I/O */
std::string path;