From 93b514828f5473fa2e01cc082d549073b072e89e Mon Sep 17 00:00:00 2001 From: Karsten Rink <karsten.rink@ufz.de> Date: Wed, 12 Sep 2012 15:05:34 +0200 Subject: [PATCH] fixed template error --- MathLib/EarClippingTriangulation.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MathLib/EarClippingTriangulation.cpp b/MathLib/EarClippingTriangulation.cpp index 4b7232fec3a..b75114eb0ed 100644 --- a/MathLib/EarClippingTriangulation.cpp +++ b/MathLib/EarClippingTriangulation.cpp @@ -227,11 +227,11 @@ void EarClippingTriangulation::clipEars() MathLib::Orientation orientation = getOrientation(_pnts[*prevprev], _pnts[*prev], _pnts[*next]); if (orientation == CW) { - BaseLib::uniqueListInsert(_convex_vertex_list, *prev); + BaseLib::uniqueListInsert<size_t>(_convex_vertex_list, *prev); // prev is convex if (isEar(*prevprev, *prev, *next)) { // prev is an ear tip - BaseLib::uniqueListInsert(_ear_list, *prev); + BaseLib::uniqueListInsert<size_t>(_ear_list, *prev); } else { // if necessary remove prev _ear_list.remove(*prev); @@ -266,11 +266,11 @@ void EarClippingTriangulation::clipEars() orientation = getOrientation(_pnts[*prev], _pnts[*next], _pnts[*nextnext]); if (orientation == CW) { - BaseLib::uniqueListInsert(_convex_vertex_list, *next); + BaseLib::uniqueListInsert<size_t>(_convex_vertex_list, *next); // next is convex if (isEar(*prev, *next, *nextnext)) { // next is an ear tip - BaseLib::uniqueListInsert(_ear_list, *next); + BaseLib::uniqueListInsert<size_t>(_ear_list, *next); } else { // if necessary remove *next _ear_list.remove(*next); -- GitLab