Iterator is no longer valid after erase. 41/30341/2
authorFrancisco Santos <f1.santos@samsung.com>
Fri, 14 Nov 2014 16:28:48 +0000 (16:28 +0000)
committerFrancisco Santos <f1.santos@samsung.com>
Mon, 17 Nov 2014 13:48:08 +0000 (05:48 -0800)
Change-Id: I5655528f2787e53ce427c407d276671ae01051e5

dali/integration-api/events/touch-event-combiner.cpp

index 7a3ddad710467f4ba51242101a838d13cce133de..b864e434cc7e2591e2a2a85075bae3e3856a6419 100644 (file)
@@ -185,7 +185,7 @@ TouchEventCombiner::EventDispatchType TouchEventCombiner::GetNextTouchEvent( con
         {
           if ( iter->point.deviceId == point.deviceId )
           {
-            mHoveredPoints.erase( iter );
+            iter = mHoveredPoints.erase( iter );
           }
         }
       }