diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-18 04:09:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-18 04:15:02 +0200 |
commit | 7f3f201833408e0dcc75ea9d3ce1c082351f9282 (patch) | |
tree | 39aae1f4cb45d99548b042e59749e72d982a6ca6 /libs/ardour/export_handler.cc | |
parent | ad8f21763e7ecfeafefaca00dd5fdbd8d2f588f6 (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/export_handler.cc')
-rw-r--r-- | libs/ardour/export_handler.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc index a6cd5fc53b..4aed0ee97e 100644 --- a/libs/ardour/export_handler.cc +++ b/libs/ardour/export_handler.cc @@ -22,8 +22,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "ardour/export_handler.h" - #include "pbd/gstdio_compat.h" #include <glibmm.h> #include <glibmm/convert.h> @@ -35,6 +33,7 @@ #include "ardour/audio_port.h" #include "ardour/debug.h" #include "ardour/export_graph_builder.h" +#include "ardour/export_handler.h" #include "ardour/export_timespan.h" #include "ardour/export_channel_configuration.h" #include "ardour/export_status.h" @@ -962,4 +961,10 @@ ExportHandler::cue_escape_cdtext (const std::string& txt) return out; } +ExportHandler::CDMarkerStatus::~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; + } +} + } // namespace ARDOUR |