From 43b4d3cc99dab196914cf494750a87d5892c26e7 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Wed, 7 Sep 2016 13:38:39 -0400 Subject: [PATCH] travis --- src/WaveClip.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/WaveClip.cpp b/src/WaveClip.cpp index b9fd05200..560c488ca 100644 --- a/src/WaveClip.cpp +++ b/src/WaveClip.cpp @@ -1694,11 +1694,12 @@ bool WaveClip::ExpandCutLine(double cutLinePosition) // another cutline!), invalidating the iterator we had. auto begin = mCutLines.begin(), end = mCutLines.end(); it = std::find_if(begin, end, - [=](const decltype(*begin) &p){ return p.get() == cutline; }); + [=](decltype(*begin) &p){ return p.get() == cutline; }); if (it != end) mCutLines.erase(it); // deletes cutline! - else + else { wxASSERT(false); + } return true; } }