use modern construct 'override' in the derive class.
[platform/core/uifw/dali-core.git] / dali / internal / event / animation / linear-constrainer-impl.h
index 892ce4e..52e9198 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_LINEAR_CONSTRAINER_H__
-#define __DALI_INTERNAL_LINEAR_CONSTRAINER_H__
+#ifndef DALI_INTERNAL_LINEAR_CONSTRAINER_H
+#define DALI_INTERNAL_LINEAR_CONSTRAINER_H
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -159,31 +159,31 @@ protected:
   /**
    * virtual destructor
    */
-  virtual ~LinearConstrainer();
+  ~LinearConstrainer() override;
 
 private:
 
   /**
    * @copydoc Dali::Internal::Object::SetDefaultProperty()
    */
-  virtual void SetDefaultProperty(Property::Index index, const Property::Value& propertyValue);
+  void SetDefaultProperty(Property::Index index, const Property::Value& propertyValue) override;
 
   /**
    * @copydoc Dali::Internal::Object::GetDefaultProperty()
    */
-  virtual Property::Value GetDefaultProperty( Property::Index index ) const;
+  Property::Value GetDefaultProperty( Property::Index index ) const override;
 
  /**
   * @copydoc Dali::Internal::Object::GetDefaultPropertyCurrentValue()
   */
virtual Property::Value GetDefaultPropertyCurrentValue( Property::Index index ) const;
Property::Value GetDefaultPropertyCurrentValue( Property::Index index ) const override;
 
 public:
 
   /**
    * @copydoc Dali::PathConstrainer::Apply
    */
-  void Apply( Property target, Property source, const Vector2& range, const Vector2& wrap );
+  void Apply( Property target, Property source, const Vector2& range, const Vector2& wrap ) override;
 
 private:
 
@@ -219,4 +219,4 @@ inline const Internal::LinearConstrainer& GetImplementation(const Dali::LinearCo
 
 } // Dali
 
-#endif //__DALI_INTERNAL_PATH_CONSTRAINER_H__
+#endif // DALI_INTERNAL_PATH_CONSTRAINER_H