From 1845c028b8cb8496d1d78f0da738120e1c31401a Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 2 Oct 2015 14:52:04 +0200 Subject: 6.8 --- wx+/graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wx+/graph.cpp') diff --git a/wx+/graph.cpp b/wx+/graph.cpp index 1a8f4376..22358922 100644 --- a/wx+/graph.cpp +++ b/wx+/graph.cpp @@ -10,7 +10,6 @@ #include #include #include -//#include #include "dc.h" using namespace zen; @@ -224,6 +223,7 @@ void cutPoints(std::vector& curvePoints, std::vector& oobMarke { assert(curvePoints.size() == oobMarker.size()); if (curvePoints.size() != oobMarker.size() || curvePoints.empty()) return; + auto isMarkedOob = [&](size_t index) { return oobMarker[index] != 0; }; //test if point is start of a OOB line std::vector curvePointsTmp; -- cgit