Use modern construct 'using' instead of typedef.
[platform/core/uifw/dali-core.git] / dali / internal / event / events / pinch-gesture / pinch-gesture-impl.h
index 7cfa82b..eaf8f7e 100644 (file)
@@ -31,7 +31,7 @@ namespace Internal
 {
 
 class PinchGesture;
-typedef IntrusivePtr< PinchGesture > PinchGesturePtr;
+using PinchGesturePtr = IntrusivePtr<PinchGesture>;
 
 /**
  * @copydoc Dali::PinchGesture
@@ -43,8 +43,8 @@ public:
   /**
    * @brief Default constructor
    */
-  PinchGesture( Gesture::State state )
-  : Gesture(Dali::Gesture::Pinch, state)
+  PinchGesture( GestureState state )
+  : Gesture(GestureType::PINCH, state)
   {
   }