From 3a19d7480fdcd01cf85be1a55da743ea7cbcb305 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 5 Jul 2018 16:10:07 +0100 Subject: Another OS X build tweak. --- src/wx/timeline.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index 0ddd78ae0..e96b474cf 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -48,8 +48,6 @@ using std::list; using std::cout; using std::min; using std::max; -using std::begin; -using std::end; using boost::shared_ptr; using boost::weak_ptr; using boost::dynamic_pointer_cast; @@ -318,13 +316,13 @@ struct AudioMappingComparator { shared_ptr cva = dynamic_pointer_cast(a); if (cva) { list oc = cva->content()->audio->mapping().mapped_output_channels(); - la = *min_element(begin(oc), end(oc)); + la = *min_element(boost::begin(oc), boost::end(oc)); } int lb = -1; shared_ptr cvb = dynamic_pointer_cast(b); if (cvb) { list oc = cvb->content()->audio->mapping().mapped_output_channels(); - lb = *min_element(begin(oc), end(oc)); + lb = *min_element(boost::begin(oc), boost::end(oc)); } return la < lb; } -- cgit v1.2.3