From dbe6f59063b94209d52d86b90f40dd619d4e5cd4 Mon Sep 17 00:00:00 2001 From: Francisco Santos Date: Fri, 14 Nov 2014 16:28:48 +0000 Subject: [PATCH] Iterator is no longer valid after erase. Change-Id: I5655528f2787e53ce427c407d276671ae01051e5 --- dali/integration-api/events/touch-event-combiner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dali/integration-api/events/touch-event-combiner.cpp b/dali/integration-api/events/touch-event-combiner.cpp index 7a3ddad71..b864e434c 100644 --- a/dali/integration-api/events/touch-event-combiner.cpp +++ b/dali/integration-api/events/touch-event-combiner.cpp @@ -185,7 +185,7 @@ TouchEventCombiner::EventDispatchType TouchEventCombiner::GetNextTouchEvent( con { if ( iter->point.deviceId == point.deviceId ) { - mHoveredPoints.erase( iter ); + iter = mHoveredPoints.erase( iter ); } } } -- 2.34.1