X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_audio_content_view.cc;h=057ebb944b8b8d632b53c36ba93410fe3a4cbb85;hb=c76a7e968f54eb0e6c8da9c1ae6bc069ed05fdda;hp=3ae0fdb45e07134e940ab04e8ddd3ed00d5f9052;hpb=d14bb2114d0e4cf8d45ea9cc6c1775ba17fa35f3;p=dcpomatic.git diff --git a/src/wx/timeline_audio_content_view.cc b/src/wx/timeline_audio_content_view.cc index 3ae0fdb45..057ebb944 100644 --- a/src/wx/timeline_audio_content_view.cc +++ b/src/wx/timeline_audio_content_view.cc @@ -24,8 +24,8 @@ #include "lib/util.h" using std::list; -using boost::shared_ptr; -using boost::dynamic_pointer_cast; +using std::shared_ptr; +using std::dynamic_pointer_cast; /** @class TimelineAudioContentView * @brief Timeline view for AudioContent. @@ -70,8 +70,8 @@ TimelineAudioContentView::label () const list mapped = ac->mapping().mapped_output_channels(); if (!mapped.empty ()) { - s += " → "; - BOOST_FOREACH (int i, mapped) { + s += wxString::FromUTF8(" → "); + for (auto i: mapped) { s += std_to_wx(short_audio_channel_name(i)) + ", "; } s = s.Left(s.Length() - 2);