webengine/webkitutils/rt_gesturehelper/src/gesturerecogniser.cpp
branchCompilerCompatibility
changeset 25 9d87bae3dc1b
parent 0 dd21522fd290
--- a/webengine/webkitutils/rt_gesturehelper/src/gesturerecogniser.cpp	Mon Oct 26 14:44:08 2009 +0000
+++ b/webengine/webkitutils/rt_gesturehelper/src/gesturerecogniser.cpp	Tue Oct 27 10:58:40 2009 +0000
@@ -182,7 +182,7 @@
 /** @return last direction of dragging */
 inline TGestureCode LastDirection( const TPointArray& aPoints ) 
     {
-    TInt latestPointIndex = LatestCertainPointIndex( aPoints, TPointArray::operator[] );
+    TInt latestPointIndex = LatestCertainPointIndex( aPoints, &TPointArray::operator[] );
     if ( KErrNotFound != latestPointIndex )
         {
         return Direction( aPoints[latestPointIndex], LastPoint( aPoints ) );
@@ -196,7 +196,7 @@
  */
 inline TBool IsTap( const TPointArray& aPoints )
     {
-    return KErrNotFound == LatestCertainPointIndex( aPoints, TPointArray::Raw );
+    return KErrNotFound == LatestCertainPointIndex( aPoints, &TPointArray::Raw );
     }  
     
 // ----------------------------------------------------------------------------