use modern construct 'override' in the derive class.
[platform/core/uifw/dali-core.git] / dali / internal / event / rendering / sampler-impl.h
index 28384ec..7dce6e3 100644 (file)
@@ -26,7 +26,6 @@
 #include <dali/internal/event/common/connectable.h> // Dali::Internal::Connectable
 #include <dali/internal/event/common/object-connector.h> // Dali::Internal::ObjectConnector
 #include <dali/internal/event/common/object-impl.h> // Dali::Internal::Object
-#include <dali/internal/event/images/image-connector.h> // Dali::Internal::ImageConnector
 
 namespace Dali
 {
@@ -38,7 +37,7 @@ struct Sampler;
 }
 
 class Sampler;
-typedef IntrusivePtr<Sampler> SamplerPtr;
+using SamplerPtr = IntrusivePtr<Sampler>;
 
 /**
  * Sampler is an object that contains an array of structures of values that
@@ -83,7 +82,7 @@ protected:
   /**
    * A reference counted object may only be deleted by calling Unreference()
    */
-  virtual ~Sampler();
+  ~Sampler() override;
 
 private: // data
   EventThreadServices& mEventThreadServices;    ///<Used to send messages to the render thread via the update thread