use modern construct '= default' for special functions. 75/243875/3
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Fri, 11 Sep 2020 01:17:42 +0000 (10:17 +0900)
committerDavid Steele <david.steele@samsung.com>
Fri, 9 Oct 2020 14:05:22 +0000 (15:05 +0100)
This patch is auto generated by clang-tidy with modernize-use-equals-default.
excluded automated-tests

Change-Id: I50cf90eb5684144a95b263774f3d8b3be8f4518c

190 files changed:
dali/devel-api/animation/animation-data.cpp
dali/devel-api/animation/path-constrainer.cpp
dali/devel-api/common/owner-container.h
dali/devel-api/common/singleton-service.cpp
dali/devel-api/common/stage.cpp
dali/devel-api/events/touch-point.cpp
dali/devel-api/signals/signal-delegate.h
dali/devel-api/update/update-proxy.cpp
dali/integration-api/bitmap.h
dali/integration-api/context-notifier.h
dali/integration-api/events/event.cpp
dali/integration-api/events/hover-event-integ.cpp
dali/integration-api/events/key-event-integ.cpp
dali/integration-api/events/multi-point-event-integ.cpp
dali/integration-api/events/point.cpp
dali/integration-api/events/touch-event-combiner.cpp
dali/integration-api/events/touch-event-integ.cpp
dali/integration-api/events/wheel-event-integ.cpp
dali/integration-api/gl-abstraction.h
dali/integration-api/gl-sync-abstraction.h
dali/integration-api/platform-abstraction.h
dali/integration-api/processor-interface.h
dali/integration-api/render-controller.h
dali/integration-api/resource-types.h
dali/integration-api/scene.cpp
dali/internal/common/blending-options.cpp
dali/internal/common/image-attributes.cpp [changed mode: 0755->0644]
dali/internal/common/message-buffer.cpp
dali/internal/common/message.h
dali/internal/common/shader-saver.h
dali/internal/event/actors/custom-actor-internal.cpp
dali/internal/event/actors/layer-list.cpp
dali/internal/event/animation/animation-playlist.cpp
dali/internal/event/animation/animator-connector.h
dali/internal/event/animation/key-frame-channel.h
dali/internal/event/animation/key-frames-impl.cpp
dali/internal/event/animation/key-frames-impl.h
dali/internal/event/animation/linear-constrainer-impl.cpp
dali/internal/event/animation/path-constrainer-impl.cpp
dali/internal/event/animation/path-impl.cpp
dali/internal/event/animation/progress-value.h
dali/internal/event/animation/property-input-accessor.h
dali/internal/event/animation/property-input-indexer.h
dali/internal/event/common/base-object-impl.h
dali/internal/event/common/complete-notification-interface.h
dali/internal/event/common/connectable.h
dali/internal/event/common/event-thread-services.h
dali/internal/event/common/notification-manager.cpp
dali/internal/event/common/object-connector.h
dali/internal/event/common/object-impl.h
dali/internal/event/common/object-registry-impl.cpp
dali/internal/event/common/property-conditions-impl.cpp
dali/internal/event/common/property-input-impl.h
dali/internal/event/common/property-metadata.h
dali/internal/event/common/property-notification-manager.cpp
dali/internal/event/common/property-notifier.h
dali/internal/event/common/stage-impl.cpp
dali/internal/event/common/thread-local-storage.cpp
dali/internal/event/common/type-info-impl.cpp
dali/internal/event/common/type-registry-impl.cpp
dali/internal/event/effects/shader-factory.cpp
dali/internal/event/events/gesture-event-processor.cpp
dali/internal/event/events/gesture-event.cpp
dali/internal/event/events/gesture-recognizer.h
dali/internal/event/events/gesture-requests.h
dali/internal/event/events/hit-test-algorithm-impl.cpp
dali/internal/event/events/key-event-processor.cpp [changed mode: 0755->0644]
dali/internal/event/events/long-press-gesture/long-press-gesture-detector-impl.cpp
dali/internal/event/events/long-press-gesture/long-press-gesture-event.cpp
dali/internal/event/events/long-press-gesture/long-press-gesture-processor.cpp
dali/internal/event/events/pan-gesture/pan-gesture-detector-impl.cpp
dali/internal/event/events/pan-gesture/pan-gesture-event.cpp
dali/internal/event/events/pan-gesture/pan-gesture-recognizer.cpp
dali/internal/event/events/pinch-gesture/pinch-gesture-detector-impl.cpp
dali/internal/event/events/pinch-gesture/pinch-gesture-event.cpp
dali/internal/event/events/pinch-gesture/pinch-gesture-processor.cpp
dali/internal/event/events/pinch-gesture/pinch-gesture-recognizer.cpp
dali/internal/event/events/tap-gesture/tap-gesture-detector-impl.cpp
dali/internal/event/events/tap-gesture/tap-gesture-event.cpp
dali/internal/event/events/tap-gesture/tap-gesture-processor.cpp
dali/internal/event/events/tap-gesture/tap-gesture-recognizer.cpp
dali/internal/event/events/wheel-event-processor.cpp
dali/internal/event/render-tasks/render-task-defaults.h
dali/internal/event/size-negotiation/memory-pool-relayout-container.cpp
dali/internal/render/common/render-instruction-container.cpp
dali/internal/render/common/render-item.cpp
dali/internal/render/data-providers/node-data-provider.h
dali/internal/render/data-providers/render-data-provider.cpp
dali/internal/render/data-providers/uniform-map-data-provider.h
dali/internal/render/gl-resources/context.cpp
dali/internal/render/gl-resources/frame-buffer-state-cache.cpp
dali/internal/render/gl-resources/gl-resource-owner.h
dali/internal/render/renderers/render-frame-buffer.cpp
dali/internal/render/renderers/render-geometry.cpp
dali/internal/render/renderers/render-renderer.cpp
dali/internal/render/renderers/render-sampler.h
dali/internal/render/renderers/render-texture.cpp
dali/internal/render/renderers/render-vertex-buffer.cpp
dali/internal/render/shaders/program-cache.h
dali/internal/render/shaders/program-controller.cpp
dali/internal/update/animation/property-accessor.h
dali/internal/update/animation/property-component-accessor.h
dali/internal/update/animation/scene-graph-animation.cpp
dali/internal/update/animation/scene-graph-animator.h
dali/internal/update/animation/scene-graph-constraint.h
dali/internal/update/common/animatable-property.h
dali/internal/update/common/discard-queue.cpp
dali/internal/update/common/inherited-property.h
dali/internal/update/common/property-base.cpp
dali/internal/update/common/property-owner-messages.cpp
dali/internal/update/common/property-owner-messages.h
dali/internal/update/common/property-owner.h
dali/internal/update/common/scene-graph-buffers.cpp
dali/internal/update/common/scene-graph-connection-change-propagator.cpp
dali/internal/update/common/scene-graph-connection-change-propagator.h
dali/internal/update/common/scene-graph-property-notification.cpp
dali/internal/update/common/uniform-map.cpp
dali/internal/update/common/uniform-map.h
dali/internal/update/controllers/render-message-dispatcher.cpp
dali/internal/update/controllers/scene-controller-impl.cpp
dali/internal/update/controllers/scene-controller.h
dali/internal/update/gestures/gesture-properties.h
dali/internal/update/gestures/scene-graph-pan-gesture.h
dali/internal/update/manager/frame-callback-processor.cpp
dali/internal/update/manager/free-list.h
dali/internal/update/manager/render-instruction-processor.cpp
dali/internal/update/manager/render-task-processor.cpp
dali/internal/update/manager/transform-manager-property.h
dali/internal/update/manager/transform-manager.cpp
dali/internal/update/manager/update-manager.h
dali/internal/update/manager/update-proxy-impl.cpp
dali/internal/update/nodes/node-messages.cpp
dali/internal/update/nodes/node-messages.h
dali/internal/update/nodes/scene-graph-layer.cpp [changed mode: 0755->0644]
dali/internal/update/render-tasks/scene-graph-camera.cpp
dali/internal/update/render-tasks/scene-graph-render-task-list.cpp
dali/public-api/actors/actor.cpp
dali/public-api/actors/camera-actor.cpp
dali/public-api/actors/custom-actor-impl.cpp
dali/public-api/actors/custom-actor.cpp
dali/public-api/actors/layer.cpp
dali/public-api/animation/animation.cpp
dali/public-api/animation/constraint.cpp
dali/public-api/animation/constraints.h
dali/public-api/animation/key-frames.cpp
dali/public-api/animation/linear-constrainer.cpp
dali/public-api/animation/path.cpp
dali/public-api/animation/time-period.cpp
dali/public-api/common/dali-vector.cpp
dali/public-api/common/dali-vector.h
dali/public-api/events/gesture-detector.cpp
dali/public-api/events/gesture.cpp
dali/public-api/events/hover-event.cpp
dali/public-api/events/key-event.cpp
dali/public-api/events/long-press-gesture-detector.cpp
dali/public-api/events/pan-gesture-detector.cpp
dali/public-api/events/pinch-gesture-detector.cpp
dali/public-api/events/rotation-gesture-detector.cpp
dali/public-api/events/tap-gesture-detector.cpp
dali/public-api/events/wheel-event.cpp
dali/public-api/images/native-image-interface.h
dali/public-api/images/pixel-data.cpp
dali/public-api/math/matrix3.h
dali/public-api/math/quaternion.cpp
dali/public-api/object/base-handle.cpp
dali/public-api/object/base-object.cpp
dali/public-api/object/handle.cpp
dali/public-api/object/object-registry.cpp
dali/public-api/object/property-conditions.cpp
dali/public-api/object/property-input.cpp
dali/public-api/object/property-notification.cpp
dali/public-api/object/property.cpp
dali/public-api/object/type-info.cpp
dali/public-api/object/type-registry.cpp
dali/public-api/object/weak-handle.h
dali/public-api/render-tasks/render-task-list.cpp
dali/public-api/render-tasks/render-task.cpp
dali/public-api/rendering/frame-buffer.cpp
dali/public-api/rendering/geometry.cpp
dali/public-api/rendering/renderer.cpp
dali/public-api/rendering/sampler.cpp
dali/public-api/rendering/shader.cpp
dali/public-api/rendering/texture-set.cpp
dali/public-api/rendering/texture.cpp
dali/public-api/rendering/vertex-buffer.cpp
dali/public-api/signals/connection-tracker-interface.cpp
dali/public-api/signals/connection-tracker.cpp
dali/public-api/signals/signal-slot-observers.cpp
dali/public-api/signals/slot-delegate.h
dali/public-api/size-negotiation/relayout-container.h

index 844240a..9331efd 100644 (file)
@@ -20,9 +20,7 @@
 
 namespace Dali
 {
-AnimationData::AnimationData()
-{
-}
+AnimationData::AnimationData() = default;
 
 AnimationData::~AnimationData()
 {
index 47ae9d7..e431b99 100644 (file)
@@ -35,18 +35,11 @@ PathConstrainer PathConstrainer::DownCast(BaseHandle handle)
   return PathConstrainer(dynamic_cast<Dali::Internal::PathConstrainer*>(handle.GetObjectPtr()));
 }
 
-PathConstrainer::PathConstrainer()
-{
-}
+PathConstrainer::PathConstrainer() = default;
 
-PathConstrainer::~PathConstrainer()
-{
-}
+PathConstrainer::~PathConstrainer() = default;
 
-PathConstrainer::PathConstrainer(const PathConstrainer& handle)
-: Handle(handle)
-{
-}
+PathConstrainer::PathConstrainer(const PathConstrainer& handle) = default;
 
 PathConstrainer::PathConstrainer(Internal::PathConstrainer* internal)
 : Handle(internal)
index d276cd7..6890656 100644 (file)
@@ -48,9 +48,7 @@ public:
   /**
    * Create a pointer-container.
    */
-  OwnerContainer()
-  {
-  }
+  OwnerContainer() = default;
 
   /**
    * Non-virtual destructor; OwnerContainer<T> is not suitable as base class.
index 49ff27e..716cc63 100644 (file)
 
 namespace Dali
 {
-SingletonService::SingletonService()
-{
-}
+SingletonService::SingletonService() = default;
 
 SingletonService SingletonService::Get()
 {
   return Internal::ThreadLocalStorage::GetSingletonService();
 }
 
-SingletonService::~SingletonService()
-{
-}
+SingletonService::~SingletonService() = default;
 
 void SingletonService::Register(const std::type_info& info, BaseHandle singleton)
 {
index 07c2deb..1729b5a 100644 (file)
@@ -30,24 +30,13 @@ namespace Dali
 {
 using Internal::Core;
 
-Stage::Stage()
-{
-}
+Stage::Stage() = default;
 
-Stage::~Stage()
-{
-}
+Stage::~Stage() = default;
 
-Stage::Stage(const Stage& handle)
-: BaseHandle(handle)
-{
-}
+Stage::Stage(const Stage& handle) = default;
 
-Stage& Stage::operator=(const Stage& rhs)
-{
-  BaseHandle::operator=(rhs);
-  return *this;
-}
+Stage& Stage::operator=(const Stage& rhs) = default;
 
 Stage::Stage(Internal::Stage* internal)
 : BaseHandle(internal)
index eba10cb..07f90d0 100644 (file)
@@ -36,8 +36,6 @@ TouchPoint::TouchPoint(int32_t id, PointState::Type state, float screenX, float
 {
 }
 
-TouchPoint::~TouchPoint()
-{
-}
+TouchPoint::~TouchPoint() = default;
 
 } // namespace Dali
index 18a5286..4980851 100644 (file)
@@ -44,9 +44,7 @@ public:
   /**
    * @brief Destructor.
    */
-  ~SignalDelegate()
-  {
-  }
+  ~SignalDelegate() = default;
 
 public:
   /**
index c2ba2ad..a79159b 100644 (file)
@@ -93,8 +93,6 @@ UpdateProxy::UpdateProxy(Internal::UpdateProxy& impl)
 {
 }
 
-UpdateProxy::~UpdateProxy()
-{
-}
+UpdateProxy::~UpdateProxy() = default;
 
 } // namespace Dali
index 7a21048..1500f12 100644 (file)
@@ -266,9 +266,7 @@ public:
     /**
      * Virtual destructor, no deletion through this interface
      */
-    virtual ~PackedPixelsProfile()
-    {
-    }
+    virtual ~PackedPixelsProfile() = default;
   };
 
   /**
@@ -316,9 +314,7 @@ public:
     /**
      * Virtual destructor, no deletion through this interface
      */
-    virtual ~CompressedProfile()
-    {
-    }
+    virtual ~CompressedProfile() = default;
   };
 
   virtual const CompressedProfile* GetCompressedProfile() const
index cd437e1..4e9c136 100644 (file)
@@ -50,9 +50,7 @@ protected:
   /**
    * Virtual destructor, no deletion through this interface
    */
-  virtual ~ContextNotifierInterface()
-  {
-  }
+  virtual ~ContextNotifierInterface() = default;
 };
 
 } // namespace Integration
index c14a78c..e6953da 100644 (file)
@@ -22,9 +22,7 @@ namespace Dali
 {
 namespace Integration
 {
-Event::~Event()
-{
-}
+Event::~Event() = default;
 
 Event::Event(Type eventType)
 : type(eventType)
index cdbae9a..53744b1 100644 (file)
@@ -32,9 +32,7 @@ HoverEvent::HoverEvent(uint32_t time)
 {
 }
 
-HoverEvent::~HoverEvent()
-{
-}
+HoverEvent::~HoverEvent() = default;
 
 } // namespace Integration
 
index 0e09d2a..eac7cd3 100644 (file)
@@ -67,9 +67,7 @@ KeyEvent::KeyEvent(const std::string&           keyName,
 {
 }
 
-KeyEvent::~KeyEvent()
-{
-}
+KeyEvent::~KeyEvent() = default;
 
 } // namespace Integration
 
index f06994f..abc6505 100644 (file)
@@ -37,9 +37,7 @@ MultiPointEvent::MultiPointEvent(Type eventType, uint32_t time)
 {
 }
 
-MultiPointEvent::~MultiPointEvent()
-{
-}
+MultiPointEvent::~MultiPointEvent() = default;
 
 void MultiPointEvent::AddPoint(const Point& point)
 {
index 6ce4e16..ebba967 100644 (file)
@@ -47,9 +47,7 @@ Point::Point(const TouchPoint& touchPoint)
 {
 }
 
-Point::~Point()
-{
-}
+Point::~Point() = default;
 
 void Point::SetDeviceId(int32_t deviceId)
 {
index b38510b..6a5ebc8 100644 (file)
@@ -78,9 +78,7 @@ TouchEventCombiner::TouchEventCombiner(uint32_t minMotionTime, Vector2 minMotion
   DALI_ASSERT_ALWAYS(minMotionDistance.x >= 0.0f && minMotionDistance.y >= 0.0f && "Negative values not allowed\n");
 }
 
-TouchEventCombiner::~TouchEventCombiner()
-{
-}
+TouchEventCombiner::~TouchEventCombiner() = default;
 
 TouchEventCombiner::EventDispatchType TouchEventCombiner::GetNextTouchEvent(const Point& point, uint32_t time, TouchEvent& touchEvent, HoverEvent& hoverEvent)
 {
index ea2e516..e1b1a7a 100644 (file)
@@ -32,9 +32,7 @@ TouchEvent::TouchEvent(uint32_t time)
 {
 }
 
-TouchEvent::~TouchEvent()
-{
-}
+TouchEvent::~TouchEvent() = default;
 
 } // namespace Integration
 
index efb3132..e72fbcd 100644 (file)
@@ -44,9 +44,7 @@ WheelEvent::WheelEvent(Type type, int direction, unsigned int modifiers, Vector2
 {
 }
 
-WheelEvent::~WheelEvent()
-{
-}
+WheelEvent::~WheelEvent() = default;
 
 } // namespace Integration
 
index 8ce11d0..ed36bdc 100644 (file)
@@ -96,9 +96,7 @@ protected:
   /**
    * Virtual protected destructor, no deletion through this interface
    */
-  virtual ~GlAbstraction()
-  {
-  }
+  virtual ~GlAbstraction() = default;
 
 public:
   /**
index 398d297..cbe440e 100644 (file)
@@ -35,9 +35,7 @@ protected:
   /**
    * Virtual protected destructor, no deletion through this interface
    */
-  virtual ~GlSyncAbstraction()
-  {
-  }
+  virtual ~GlSyncAbstraction() = default;
 
 public:
   class SyncObject
@@ -48,9 +46,7 @@ public:
      * Core from deleting SyncObjects - only Adaptor implementation is able to delete
      * them.
      */
-    virtual ~SyncObject()
-    {
-    }
+    virtual ~SyncObject() = default;
 
   public:
     /**
index 4bc3d09..64ce4f7 100644 (file)
@@ -144,9 +144,7 @@ protected:
   /**
    * Virtual destructor.
    */
-  virtual ~PlatformAbstraction()
-  {
-  }
+  virtual ~PlatformAbstraction() = default;
 
 }; // class PlatformAbstraction
 
index 3334a6b..70c01bd 100644 (file)
@@ -41,9 +41,7 @@ protected:
   /**
    * Virtual protected destructor
    */
-  virtual ~Processor()
-  {
-  }
+  virtual ~Processor() = default;
 };
 
 } // namespace Integration
index 30ab2d3..f337dd6 100644 (file)
@@ -32,9 +32,7 @@ protected:
   /**
    * Virtual protected destructor, no deletion through this interface
    */
-  virtual ~RenderController()
-  {
-  }
+  virtual ~RenderController() = default;
 
 public:
   /**
index 9d70589..fd0decf 100644 (file)
@@ -60,9 +60,7 @@ struct BitmapResourceType
   /**
    * Destructor.
    */
-  ~BitmapResourceType()
-  {
-  }
+  ~BitmapResourceType() = default;
 
   /**
    * Attributes are copied from the request.
index d24d0ad..9a6af8e 100644 (file)
@@ -38,29 +38,18 @@ Scene Scene::DownCast(BaseHandle handle)
   return Scene(dynamic_cast<Dali::Internal::Scene*>(handle.GetObjectPtr()));
 }
 
-Scene::Scene()
-{
-}
+Scene::Scene() = default;
 
-Scene::~Scene()
-{
-}
+Scene::~Scene() = default;
 
-Scene::Scene(const Scene& handle)
-: BaseHandle(handle)
-{
-}
+Scene::Scene(const Scene& handle) = default;
 
 Scene::Scene(Internal::Scene* internal)
 : BaseHandle(internal)
 {
 }
 
-Scene& Scene::operator=(const Scene& rhs)
-{
-  BaseHandle::operator=(rhs);
-  return *this;
-}
+Scene& Scene::operator=(const Scene& rhs) = default;
 
 void Scene::Add(Actor actor)
 {
index d2255fa..81b4db4 100644 (file)
@@ -249,9 +249,7 @@ BlendingOptions::BlendingOptions()
   SetBlendEquation( BlendEquation::ADD, BlendEquation::ADD );
 }
 
-BlendingOptions::~BlendingOptions()
-{
-}
+BlendingOptions::~BlendingOptions() = default;
 
 void BlendingOptions::SetBitmask( unsigned int bitmask )
 {
old mode 100755 (executable)
new mode 100644 (file)
index 9adf588..005e3b2
@@ -39,18 +39,9 @@ struct ImageAttributes::ImageAttributesImpl
   {
   }
 
-  ~ImageAttributesImpl()
-  {
-  }
+  ~ImageAttributesImpl() = default;
 
-  ImageAttributesImpl(const ImageAttributesImpl& rhs)
-  : width( rhs.width ),
-    height( rhs.height ),
-    scaling( rhs.scaling ),
-    filtering( rhs.filtering ),
-    mOrientationCorrection( rhs.mOrientationCorrection )
-  {
-  }
+  ImageAttributesImpl(const ImageAttributesImpl& rhs) = default;
 
   ImageAttributesImpl& operator=(const ImageAttributesImpl& rhs)
   {
index 5893f91..1621567 100644 (file)
@@ -162,11 +162,7 @@ MessageBuffer::Iterator::Iterator(WordType* current)
   }
 }
 
-MessageBuffer::Iterator::Iterator(const Iterator& copy)
-: mCurrent( copy.mCurrent ),
-  mMessageSize( copy.mMessageSize )
-{
-}
+MessageBuffer::Iterator::Iterator(const Iterator& copy) = default;
 
 } // namespace Internal
 
index 382aa9d..bd2410f 100644 (file)
@@ -41,16 +41,12 @@ public:
   /**
    * Construct the message base.
    */
-  MessageBase( )
-  {
-  }
+  MessageBase() = default;
 
   /**
    * Virtual destructor
    */
-  virtual ~MessageBase()
-  {
-  }
+  virtual ~MessageBase() = default;
 
   /**
    * Called to process the message.
@@ -90,9 +86,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~Message() override
-  {
-  }
+  ~Message() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -143,9 +137,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageValue1() override
-  {
-  }
+  ~MessageValue1() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -201,9 +193,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageValue2() override
-  {
-  }
+  ~MessageValue2() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -262,9 +252,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageValue3() override
-  {
-  }
+  ~MessageValue3() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -327,9 +315,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageValue4() override
-  {
-  }
+  ~MessageValue4() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -396,9 +382,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageValue5() override
-  {
-  }
+  ~MessageValue5() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -469,9 +453,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageValue6() override
-  {
-  }
+  ~MessageValue6() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -522,9 +504,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageDoubleBuffered0() override
-  {
-  }
+  ~MessageDoubleBuffered0() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -576,9 +556,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageDoubleBuffered1() override
-  {
-  }
+  ~MessageDoubleBuffered1() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -633,9 +611,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageDoubleBuffered2() override
-  {
-  }
+  ~MessageDoubleBuffered2() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -695,9 +671,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageDoubleBuffered3() override
-  {
-  }
+  ~MessageDoubleBuffered3() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -760,9 +734,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~MessageDoubleBuffered4() override
-  {
-  }
+  ~MessageDoubleBuffered4() override = default;
 
   /**
    * @copydoc MessageBase::Process
index e53185c..8b83ae3 100644 (file)
@@ -50,7 +50,7 @@ protected:
    * Destructor. Protected as no derived class should ever be deleted
    * through a reference to this pure abstract interface.
    */
-  virtual ~ShaderSaver(){}
+  virtual ~ShaderSaver() = default;
 };
 
 } // namespace Internal
index f85f07b..33f302a 100644 (file)
@@ -43,9 +43,7 @@ CustomActor::CustomActor( const SceneGraph::Node& node, CustomActorImpl& extensi
   SetRelayoutEnabled( extension.IsRelayoutEnabled() );
 }
 
-CustomActor::~CustomActor()
-{
-}
+CustomActor::~CustomActor() = default;
 
 Dali::TypeInfo CustomActor::GetTypeInfo()
 {
index e378101..60c7bee 100644 (file)
@@ -65,9 +65,7 @@ LayerList* LayerList::New( SceneGraph::UpdateManager& updateManager )
   return new LayerList( updateManager );
 }
 
-LayerList::~LayerList()
-{
-}
+LayerList::~LayerList() = default;
 
 uint32_t LayerList::GetLayerCount() const
 {
index c39385f..d48d28d 100644 (file)
@@ -35,13 +35,9 @@ AnimationPlaylist* AnimationPlaylist::New()
   return new AnimationPlaylist();
 }
 
-AnimationPlaylist::AnimationPlaylist()
-{
-}
+AnimationPlaylist::AnimationPlaylist() = default;
 
-AnimationPlaylist::~AnimationPlaylist()
-{
-}
+AnimationPlaylist::~AnimationPlaylist() = default;
 
 void AnimationPlaylist::AnimationCreated( Animation& animation )
 {
index e0a2894..48bd693 100644 (file)
@@ -74,9 +74,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatorConnector() override
-  {
-  }
+  ~AnimatorConnector() override = default;
 
 private:
 
@@ -173,9 +171,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatorConnector() override
-  {
-  }
+  ~AnimatorConnector() override = default;
 
 private:
 
index 05e5fde..820340c 100644 (file)
@@ -41,9 +41,7 @@ public:
   {
   }
 
-  virtual ~KeyFrameChannelBase()
-  {
-  }
+  virtual ~KeyFrameChannelBase() = default;
 
   KeyFrameChannelId GetId() const
   {
@@ -69,10 +67,7 @@ public:
   {
   }
 
-
-  ~KeyFrameChannel() override
-  {
-  }
+  ~KeyFrameChannel() override = default;
 
   bool IsActive (float progress) override;
 
index 1e89e0f..fa265cc 100644 (file)
@@ -34,10 +34,7 @@ KeyFrames::KeyFrames()
 {
 }
 
-KeyFrames::~KeyFrames()
-{
-}
-
+KeyFrames::~KeyFrames() = default;
 
 void KeyFrames::CreateKeyFramesSpec(Property::Type type)
 {
index 78df8e8..989e481 100644 (file)
@@ -115,8 +115,7 @@ private:
 class KeyFrameSpec : public RefObject
 {
 public:
-
-  KeyFrameSpec() {}
+  KeyFrameSpec() = default;
 
   virtual std::size_t GetNumberOfKeyFrames() const = 0;
 
@@ -132,7 +131,7 @@ protected:
   /**
    * A reference counted object may only be deleted by calling Unreference()
    */
-  ~KeyFrameSpec() override {}
+  ~KeyFrameSpec() override = default;
 };
 
 
index c357e41..1b4c463 100644 (file)
@@ -63,9 +63,7 @@ LinearConstrainer::LinearConstrainer()
 {
 }
 
-LinearConstrainer::~LinearConstrainer()
-{
-}
+LinearConstrainer::~LinearConstrainer() = default;
 
 Property::Value LinearConstrainer::GetDefaultProperty( Property::Index index ) const
 {
index 63eb9f7..bcae22e 100644 (file)
@@ -64,9 +64,7 @@ PathConstrainer::PathConstrainer()
 {
 }
 
-PathConstrainer::~PathConstrainer()
-{
-}
+PathConstrainer::~PathConstrainer() = default;
 
 Property::Value PathConstrainer::GetDefaultProperty( Property::Index index ) const
 {
index c5455a4..c891349 100644 (file)
@@ -86,9 +86,7 @@ Path::Path()
 {
 }
 
-Path::~Path()
-{
-}
+Path::~Path() = default;
 
 Path* Path::Clone(const Path& path)
 {
index 0a7ca11..1657bec 100644 (file)
@@ -44,9 +44,7 @@ public:
   {
   }
 
-  ~ProgressValue ()
-  {
-  }
+  ~ProgressValue() = default;
 
   float GetProgress () const
   {
index 6cc3d80..482d1ca 100644 (file)
@@ -53,11 +53,7 @@ public:
   /**
    * Copy from a PropertyInputAccessor
    */
-  PropertyInputAccessor( const PropertyInputAccessor& accessor )
-  : mInput( accessor.mInput ),
-    mComponentIndex( accessor.mComponentIndex )
-  {
-  }
+  PropertyInputAccessor(const PropertyInputAccessor& accessor) = default;
 
   /**
    * Copy from a PropertyInputAccessor
index e9088af..ed1ea0b 100644 (file)
@@ -73,9 +73,7 @@ public:
   /**
    * Virtual Destructor
    */
-  ~PropertyInputIndexer() override
-  {
-  }
+  ~PropertyInputIndexer() override = default;
 
   /**
    * @copydoc Dali::Internal::PropertyInput::GetType()
index 5bb491f..501521d 100755 (executable)
@@ -70,7 +70,7 @@ public:
     /**
      * Virtual destructor
      */
-    virtual ~Observer() {}
+    virtual ~Observer() = default;
   };
 
   /**
index 40ae686..d802d4f 100644 (file)
@@ -37,14 +37,12 @@ protected:
   /**
    * Constructor, not to be directly instantiated.
    */
-  CompleteNotificationInterface()
-  {}
+  CompleteNotificationInterface() = default;
 
   /**
    * Virtual destructor as this is an interface, no deletion through this interface though.
    */
-  virtual ~CompleteNotificationInterface()
-  {}
+  virtual ~CompleteNotificationInterface() = default;
 
 public:
 
index 8c2d1e7..cb087fe 100644 (file)
@@ -35,7 +35,7 @@ public:
   /**
    * @brief Destructor
    */
-  virtual ~Connectable() {}
+  virtual ~Connectable() = default;
 
   /**
    * @brief Check if the object is on the scene
index 68e52e6..7e75e29 100644 (file)
@@ -54,8 +54,7 @@ public:
   /**
    * Virtual destructor
    */
-  virtual ~EventThreadServices()
-  { }
+  virtual ~EventThreadServices() = default;
 
   /**
    * Get the EventThreadServices
index 9dc08ba..f80b6e2 100644 (file)
@@ -86,9 +86,7 @@ struct NotificationManager::Impl
     eventInterfaceQueue.Reserve( 4 );
   }
 
-  ~Impl()
-  {
-  }
+  ~Impl() = default;
 
   // queueMutex must be locked whilst accessing queue
   MessageQueueMutex queueMutex;
index 22319b8..40fa975 100644 (file)
@@ -41,12 +41,12 @@ public:
   /**
    * @brief Default constructor.
    */
-  ObjectConnector() {}
+  ObjectConnector() = default;
 
   /**
    * @brief Destructor.
    */
-  ~ObjectConnector() {}
+  ~ObjectConnector() = default;
 
   /**
    * @brief Copy constructor
index 64d9c8c..fffe3ee 100644 (file)
@@ -109,7 +109,7 @@ public:
     /**
      * Virtual destructor
      */
-    virtual ~Observer(){}
+    virtual ~Observer() = default;
   };
 
   /**
index 8ef38e1..a12f485 100644 (file)
@@ -53,13 +53,9 @@ ObjectRegistryPtr ObjectRegistry::New()
   return ObjectRegistryPtr( new ObjectRegistry() );
 }
 
-ObjectRegistry::ObjectRegistry()
-{
-}
+ObjectRegistry::ObjectRegistry() = default;
 
-ObjectRegistry::~ObjectRegistry()
-{
-}
+ObjectRegistry::~ObjectRegistry() = default;
 
 void ObjectRegistry::RegisterObject( Dali::BaseObject* object )
 {
index 06557ae..f1a502f 100644 (file)
@@ -30,10 +30,7 @@ PropertyCondition::PropertyCondition()
 
 }
 
-PropertyCondition::~PropertyCondition()
-{
-
-}
+PropertyCondition::~PropertyCondition() = default;
 
 } // namespace Internal
 
index bd8d4ec..081a81c 100644 (file)
@@ -57,9 +57,7 @@ public:
   /**
    * Virtual destructor.
    */
-  virtual ~PropertyInputImpl()
-  {
-  }
+  virtual ~PropertyInputImpl() = default;
 
   /**
    * Query the type of property input.
index a363ea1..3dbf675 100644 (file)
@@ -61,9 +61,7 @@ public:
   /**
    * @brief Virtual Destructor.
    */
-  virtual ~PropertyMetadata()
-  {
-  }
+  virtual ~PropertyMetadata() = default;
 
   /**
    * @brief Returns whether the property is animatable (i.e. if its a scene graph property).
@@ -233,9 +231,7 @@ public:
   /**
    * @brief Destructor.
    */
-  ~AnimatablePropertyMetadata() override
-  {
-  }
+  ~AnimatablePropertyMetadata() override = default;
 
 private:
 
@@ -296,9 +292,7 @@ public:
   /**
    * @brief Destructor.
    */
-  ~CustomPropertyMetadata() override
-  {
-  }
+  ~CustomPropertyMetadata() override = default;
 
 private:
 
index 45cec79..b879923 100644 (file)
@@ -33,9 +33,7 @@ PropertyNotificationManager* PropertyNotificationManager::New()
   return new PropertyNotificationManager;
 }
 
-PropertyNotificationManager::~PropertyNotificationManager()
-{
-}
+PropertyNotificationManager::~PropertyNotificationManager() = default;
 
 void PropertyNotificationManager::PropertyNotificationCreated( PropertyNotification& propertyNotification )
 {
@@ -70,9 +68,7 @@ void PropertyNotificationManager::NotifyProperty( SceneGraph::PropertyNotificati
   }
 }
 
-PropertyNotificationManager::PropertyNotificationManager()
-{
-}
+PropertyNotificationManager::PropertyNotificationManager() = default;
 
 } // namespace Internal
 
index 6fd0ea5..3899719 100644 (file)
@@ -44,9 +44,7 @@ public:
   /**
    * Virtual destructor.
    */
-  virtual ~PropertyNotifier()
-  {
-  }
+  virtual ~PropertyNotifier() = default;
 
   /**
    * Provide notification signals for a changed property.
index beae510..87c2d37 100644 (file)
@@ -400,9 +400,7 @@ Stage::Stage( SceneGraph::UpdateManager& updateManager )
 {
 }
 
-Stage::~Stage()
-{
-}
+Stage::~Stage() = default;
 
 } // namespace Internal
 
index 2424d41..5962768 100644 (file)
@@ -59,9 +59,7 @@ ThreadLocalStorage::ThreadLocalStorage(Core* core)
   threadLocal = this;
 }
 
-ThreadLocalStorage::~ThreadLocalStorage()
-{
-}
+ThreadLocalStorage::~ThreadLocalStorage() = default;
 
 void ThreadLocalStorage::Remove()
 {
index 81155ef..7230c36 100644 (file)
@@ -176,9 +176,7 @@ TypeInfo::TypeInfo(const std::string &name, const std::string &baseTypeName, Dal
   DALI_ASSERT_ALWAYS(!baseTypeName.empty() && "Type info construction must have a base type name");
 }
 
-TypeInfo::~TypeInfo()
-{
-}
+TypeInfo::~TypeInfo() = default;
 
 BaseHandle TypeInfo::CreateInstance() const
 {
index 9c79314..de44e8e 100644 (file)
@@ -49,10 +49,7 @@ TypeRegistry *TypeRegistry::Get()
   return _reg;
 }
 
-TypeRegistry::TypeRegistry()
-{
-
-}
+TypeRegistry::TypeRegistry() = default;
 
 TypeRegistry::~TypeRegistry()
 {
index 59832f9..c91f2ed 100644 (file)
@@ -60,9 +60,7 @@ void shaderBinaryFilename( size_t shaderHash, std::string& filename )
 
 }
 
-ShaderFactory::ShaderFactory()
-{
-}
+ShaderFactory::ShaderFactory() = default;
 
 ShaderFactory::~ShaderFactory()
 {
index 5c9be29..d25d90b 100644 (file)
@@ -48,9 +48,7 @@ GestureEventProcessor::GestureEventProcessor( SceneGraph::UpdateManager& updateM
 {
 }
 
-GestureEventProcessor::~GestureEventProcessor()
-{
-}
+GestureEventProcessor::~GestureEventProcessor() = default;
 
 void GestureEventProcessor::ProcessTouchEvent( Scene& scene, const Integration::TouchEvent& event)
 {
index 9591ac3..680fa6d 100644 (file)
@@ -23,10 +23,7 @@ namespace Dali
 
 namespace Internal
 {
-
-GestureEvent::~GestureEvent()
-{
-}
+GestureEvent::~GestureEvent() = default;
 
 GestureEvent::GestureEvent( GestureType::Value gesture, GestureState gestureState )
 : gestureType( gesture ),
index f53e573..bef97a7 100644 (file)
@@ -44,7 +44,8 @@ class RecognizerObserver
 public:
   virtual void Process( Scene& scene, const T& event ) = 0;
 
-  virtual ~RecognizerObserver(){};
+  virtual ~RecognizerObserver() = default;
+  ;
 };
 
 
@@ -116,7 +117,7 @@ protected:
   /**
    * Virtual destructor.
    */
-  ~GestureRecognizer() override {}
+  ~GestureRecognizer() override = default;
 
 protected:
   Vector2 mScreenSize;
index be7ab70..aad5e37 100644 (file)
@@ -73,9 +73,7 @@ struct PanGestureRequest : public GestureRequest
   /**
    * Virtual destructor
    */
-  ~PanGestureRequest() override
-  {
-  }
+  ~PanGestureRequest() override = default;
 
   // Data Members
 
@@ -105,9 +103,7 @@ struct TapGestureRequest : public GestureRequest
   /**
    * Virtual destructor
    */
-  ~TapGestureRequest() override
-  {
-  }
+  ~TapGestureRequest() override = default;
 
   // Data Members
 
@@ -137,9 +133,7 @@ struct LongPressGestureRequest : public GestureRequest
   /**
    * Virtual destructor
    */
-  ~LongPressGestureRequest() override
-  {
-  }
+  ~LongPressGestureRequest() override = default;
 
   // Data Members
 
index 587df4d..25d6a42 100644 (file)
@@ -603,9 +603,7 @@ bool HitTestForEachRenderTask( const Vector2& sceneSize,
 
 } // unnamed namespace
 
-HitTestInterface::~HitTestInterface()
-{
-}
+HitTestInterface::~HitTestInterface() = default;
 
 bool HitTest( const Vector2& sceneSize, RenderTaskList& taskList, LayerList& layerList, const Vector2& screenCoordinates, Dali::HitTestAlgorithm::Results& results, Dali::HitTestAlgorithm::HitTestFunction func )
 {
old mode 100755 (executable)
new mode 100644 (file)
index e72adc3..1bb2f1a
@@ -35,9 +35,7 @@ KeyEventProcessor::KeyEventProcessor( Scene& scene )
 {
 }
 
-KeyEventProcessor::~KeyEventProcessor()
-{
-}
+KeyEventProcessor::~KeyEventProcessor() = default;
 
 void KeyEventProcessor::ProcessKeyEvent( const Integration::KeyEvent& event )
 {
index 3c832a5..75b07de 100644 (file)
@@ -85,9 +85,7 @@ LongPressGestureDetector::LongPressGestureDetector(unsigned int minTouches, unsi
 {
 }
 
-LongPressGestureDetector::~LongPressGestureDetector()
-{
-}
+LongPressGestureDetector::~LongPressGestureDetector() = default;
 
 void LongPressGestureDetector::SetTouchesRequired(unsigned int touches)
 {
index 1dae742..3ff0618 100644 (file)
@@ -30,9 +30,7 @@ LongPressGestureEvent::LongPressGestureEvent( GestureState state )
 {
 }
 
-LongPressGestureEvent::~LongPressGestureEvent()
-{
-}
+LongPressGestureEvent::~LongPressGestureEvent() = default;
 
 } // namespace Internal
 
index 1090aab..224e74f 100644 (file)
@@ -113,9 +113,7 @@ LongPressGestureProcessor::LongPressGestureProcessor()
 {
 }
 
-LongPressGestureProcessor::~LongPressGestureProcessor()
-{
-}
+LongPressGestureProcessor::~LongPressGestureProcessor() = default;
 
 void LongPressGestureProcessor::Process( Scene& scene, const LongPressGestureEvent& longPressEvent )
 {
index bc1e201..efdaf04 100644 (file)
@@ -302,9 +302,7 @@ PanGestureDetector::PanGestureDetector( const SceneGraph::PanGesture& sceneObjec
 {
 }
 
-PanGestureDetector::~PanGestureDetector()
-{
-}
+PanGestureDetector::~PanGestureDetector() = default;
 
 const SceneGraph::PanGesture& PanGestureDetector::GetPanGestureSceneObject() const
 {
index fa17b11..d67d463 100644 (file)
@@ -32,9 +32,7 @@ PanGestureEvent::PanGestureEvent(GestureState state)
 {
 }
 
-PanGestureEvent::~PanGestureEvent()
-{
-}
+PanGestureEvent::~PanGestureEvent() = default;
 
 } // namespace Internal
 
index be9b307..46ca899 100644 (file)
@@ -74,9 +74,7 @@ PanGestureRecognizer::PanGestureRecognizer( Observer& observer, Vector2 screenSi
   }
 }
 
-PanGestureRecognizer::~PanGestureRecognizer()
-{
-}
+PanGestureRecognizer::~PanGestureRecognizer() = default;
 
 void PanGestureRecognizer::SendEvent(const Integration::TouchEvent& event)
 {
index 6584d2d..2f62e91 100644 (file)
@@ -62,9 +62,7 @@ PinchGestureDetector::PinchGestureDetector()
 {
 }
 
-PinchGestureDetector::~PinchGestureDetector()
-{
-}
+PinchGestureDetector::~PinchGestureDetector() = default;
 
 void PinchGestureDetector::EmitPinchGestureSignal(Dali::Actor actor, const Dali::PinchGesture& pinch)
 {
index fa9841b..f65150d 100644 (file)
@@ -35,9 +35,7 @@ PinchGestureEvent::PinchGestureEvent(GestureState state)
 {
 }
 
-PinchGestureEvent::~PinchGestureEvent()
-{
-}
+PinchGestureEvent::~PinchGestureEvent() = default;
 
 } // namespace Internal
 
index 88172af..210cbf0 100644 (file)
@@ -115,9 +115,7 @@ PinchGestureProcessor::PinchGestureProcessor()
 {
 }
 
-PinchGestureProcessor::~PinchGestureProcessor()
-{
-}
+PinchGestureProcessor::~PinchGestureProcessor() = default;
 
 void PinchGestureProcessor::SetMinimumPinchDistance( float value )
 {
index 134dee4..9108a11 100644 (file)
@@ -78,9 +78,7 @@ PinchGestureRecognizer::PinchGestureRecognizer( Observer& observer, Vector2 scre
   SetMinimumPinchDistance( minimumPinchDistance );
 }
 
-PinchGestureRecognizer::~PinchGestureRecognizer()
-{
-}
+PinchGestureRecognizer::~PinchGestureRecognizer() = default;
 
 void PinchGestureRecognizer::SetMinimumPinchDistance(float value)
 {
index bdca9c6..a3f13c4 100644 (file)
@@ -79,9 +79,7 @@ TapGestureDetector::TapGestureDetector( unsigned int tapsRequired )
 {
 }
 
-TapGestureDetector::~TapGestureDetector()
-{
-}
+TapGestureDetector::~TapGestureDetector() = default;
 
 void TapGestureDetector::SetMinimumTapsRequired(unsigned int taps)
 {
index 405a906..cbc3e0a 100644 (file)
@@ -31,9 +31,7 @@ TapGestureEvent::TapGestureEvent( GestureState state )
 {
 }
 
-TapGestureEvent::~TapGestureEvent()
-{
-}
+TapGestureEvent::~TapGestureEvent() = default;
 
 } // namespace Internal
 
index e710f75..7b3fce6 100644 (file)
@@ -86,9 +86,7 @@ TapGestureProcessor::TapGestureProcessor()
 {
 }
 
-TapGestureProcessor::~TapGestureProcessor()
-{
-}
+TapGestureProcessor::~TapGestureProcessor() = default;
 
 void TapGestureProcessor::Process( Scene& scene, const TapGestureEvent& tapEvent )
 {
index 5daa963..15b6e7e 100644 (file)
@@ -55,9 +55,7 @@ TapGestureRecognizer::TapGestureRecognizer( Observer& observer, Vector2 screenSi
 {
 }
 
-TapGestureRecognizer::~TapGestureRecognizer()
-{
-}
+TapGestureRecognizer::~TapGestureRecognizer() = default;
 
 void TapGestureRecognizer::SendEvent(const Integration::TouchEvent& event)
 {
index a5c93e8..216102c 100644 (file)
@@ -128,9 +128,7 @@ WheelEventProcessor::WheelEventProcessor( Scene& scene )
 {
 }
 
-WheelEventProcessor::~WheelEventProcessor()
-{
-}
+WheelEventProcessor::~WheelEventProcessor() = default;
 
 void WheelEventProcessor::ProcessWheelEvent( const Integration::WheelEvent& event )
 {
index 8163f92..5d0d419 100644 (file)
@@ -51,7 +51,7 @@ protected:
   /**
    * Virtual destructor
    */
-  virtual ~RenderTaskDefaults(){}
+  virtual ~RenderTaskDefaults() = default;
 };
 
 } // namespace Internal
index e71af13..97df7e8 100644 (file)
@@ -29,9 +29,7 @@ MemoryPoolRelayoutContainer::MemoryPoolRelayoutContainer( MemoryPoolObjectAlloca
 {
 }
 
-MemoryPoolRelayoutContainer::~MemoryPoolRelayoutContainer()
-{
-}
+MemoryPoolRelayoutContainer::~MemoryPoolRelayoutContainer() = default;
 
 bool MemoryPoolRelayoutContainer::Contains( const Dali::Actor& actor )
 {
index 4389f2f..d2b08af 100644 (file)
@@ -35,9 +35,7 @@ RenderInstructionContainer::RenderInstructionContainer()
 {
 }
 
-RenderInstructionContainer::~RenderInstructionContainer()
-{
-}
+RenderInstructionContainer::~RenderInstructionContainer() = default;
 
 void RenderInstructionContainer::ResetAndReserve( BufferIndex bufferIndex, uint32_t capacityRequired )
 {
index d0daa83..5492878 100755 (executable)
@@ -56,10 +56,7 @@ RenderItem::RenderItem()
 {
 }
 
-RenderItem::~RenderItem()
-{
-}
-
+RenderItem::~RenderItem() = default;
 
 ClippingBox RenderItem::CalculateViewportSpaceAABB( const Vector3& size, const int viewportWidth, const int viewportHeight ) const
 {
index 9603a77..0f768a3 100644 (file)
@@ -40,7 +40,7 @@ public:
   /**
    * Constructor. Nothing to do as a pure interface.
    */
-  NodeDataProvider() { }
+  NodeDataProvider() = default;
 
   /**
    * @param bufferIndex to use
@@ -68,7 +68,7 @@ protected:
   /**
    * Virtual destructor, this is an interface, no deletion through this interface
    */
-  ~NodeDataProvider() override { }
+  ~NodeDataProvider() override = default;
 };
 
 } // SceneGraph
index 004044b..eb75345 100644 (file)
@@ -31,9 +31,7 @@ RenderDataProvider::RenderDataProvider( AnimatableProperty< float >& opacity )
 {
 }
 
-RenderDataProvider::~RenderDataProvider()
-{
-}
+RenderDataProvider::~RenderDataProvider() = default;
 
 void RenderDataProvider::SetUniformMap(const UniformMapDataProvider& uniformMapDataProvider)
 {
index 158bf3f..9160908 100644 (file)
@@ -39,9 +39,7 @@ public:
   /**
    * Constructor
    */
-  UniformMapDataProvider()
-  {
-  }
+  UniformMapDataProvider() = default;
 
   /**
    * Return true if the uniform map has been changed this frame
@@ -66,9 +64,7 @@ protected:
   /**
    * No deletion through this interface
    */
-  virtual ~UniformMapDataProvider()
-  {
-  }
+  virtual ~UniformMapDataProvider() = default;
 };
 
 } // namespace SceneGraph
index 0cdc6f0..f92d0d0 100644 (file)
@@ -111,9 +111,7 @@ Context::Context( Integration::GlAbstraction& glAbstraction, OwnerContainer< Con
 {
 }
 
-Context::~Context()
-{
-}
+Context::~Context() = default;
 
 void Context::GlContextCreated()
 {
index e9d3271..576475a 100644 (file)
@@ -40,9 +40,7 @@ FrameBufferStateCache::FrameBufferStateCache()
 {
 }
 
-FrameBufferStateCache::~FrameBufferStateCache()
-{
-}
+FrameBufferStateCache::~FrameBufferStateCache() = default;
 
 GLbitfield FrameBufferStateCache::GetClearMask( GLbitfield mask, bool forceClear, bool scissorTestEnabled )
 {
index a0642ee..f1c684b 100644 (file)
@@ -35,8 +35,7 @@ public:
   /**
    * Virtual destructor.
    */
-  virtual ~GlResourceOwner()
-  { }
+  virtual ~GlResourceOwner() = default;
 
   /**
    * Reset all GL resources.
index cdd5c2e..8210648 100644 (file)
@@ -52,9 +52,7 @@ FrameBuffer::FrameBuffer( uint32_t width, uint32_t height, Mask attachments )
 {
 }
 
-FrameBuffer::~FrameBuffer()
-{
-}
+FrameBuffer::~FrameBuffer() = default;
 
 void FrameBuffer::Destroy( Context& context )
 {
index a24712a..d3a2809 100644 (file)
@@ -41,9 +41,7 @@ Geometry::Geometry()
 {
 }
 
-Geometry::~Geometry()
-{
-}
+Geometry::~Geometry() = default;
 
 void Geometry::GlContextCreated( Context& context )
 {
index bce1343..2c82094 100644 (file)
@@ -165,9 +165,7 @@ void Renderer::Initialize( Context& context )
   mContext = &context;
 }
 
-Renderer::~Renderer()
-{
-}
+Renderer::~Renderer() = default;
 
 void Renderer::SetGeometry( Render::Geometry* geometry )
 {
index c042995..1adf2f9 100644 (file)
@@ -46,8 +46,7 @@ struct Sampler
   /**
    * Destructor
    */
-  ~Sampler()
-  {}
+  ~Sampler() = default;
 
   bool operator==(const Sampler& rhs) const
   {
index 73b73e2..f77ddb6 100644 (file)
@@ -697,8 +697,7 @@ Texture::Texture( NativeImageInterfacePtr nativeImageInterface )
 {
 }
 
-Texture::~Texture()
-{}
+Texture::~Texture() = default;
 
 void Texture::Destroy( Context& context )
 {
index cfec857..385b7b8 100644 (file)
@@ -125,9 +125,7 @@ VertexBuffer::VertexBuffer()
 {
 }
 
-VertexBuffer::~VertexBuffer()
-{
-}
+VertexBuffer::~VertexBuffer() = default;
 
 void VertexBuffer::SetFormat( VertexBuffer::Format* format )
 {
index 6d91e34..42d31b6 100644 (file)
@@ -40,14 +40,12 @@ public:
   /**
    * Constructor
    */
-  ProgramCache()
-  { }
+  ProgramCache() = default;
 
   /**
    * Destructor, virtual as this is an interface
    */
-  virtual ~ProgramCache()
-  { }
+  virtual ~ProgramCache() = default;
 
 public: // API
 
index 1245787..1452564 100644 (file)
@@ -41,9 +41,7 @@ ProgramController::ProgramController( Integration::GlAbstraction& glAbstraction
   mProgramCache.Reserve( 32 );
 }
 
-ProgramController::~ProgramController()
-{
-}
+ProgramController::~ProgramController() = default;
 
 void ProgramController::ResetProgramMatrices()
 {
index e512628..813dacf 100644 (file)
@@ -50,9 +50,7 @@ public:
   /**
    * Non-virtual destructor; PropertyAccessor is not suitable as a base class.
    */
-  ~PropertyAccessor()
-  {
-  }
+  ~PropertyAccessor() = default;
 
   /**
    * Query whether the accessor is set.
@@ -142,9 +140,7 @@ public:
   /**
    * Non-virtual destructor; PropertyAccessor is not suitable as a base class.
    */
-  ~TransformManagerPropertyAccessor()
-  {
-  }
+  ~TransformManagerPropertyAccessor() = default;
 
   /**
    * Query whether the accessor is set.
@@ -235,9 +231,7 @@ public:
   /**
    * Non-virtual destructor; PropertyAccessor is not suitable as a base class.
    */
-  ~TransformManagerPropertyComponentAccessor()
-  {
-  }
+  ~TransformManagerPropertyComponentAccessor() = default;
 
   /**
    * Query whether the accessor is set.
index 180dda3..a8604fc 100644 (file)
@@ -49,9 +49,7 @@ public:
   /**
    * Non-virtual destructor; PropertyComponentAccessorX is not suitable as a base class.
    */
-  ~PropertyComponentAccessorX()
-  {
-  }
+  ~PropertyComponentAccessorX() = default;
 
   /**
    * Query whether the accessor is set.
@@ -141,9 +139,7 @@ public:
   /**
    * Non-virtual destructor; PropertyComponentAccessorY is not suitable as a base class.
    */
-  ~PropertyComponentAccessorY()
-  {
-  }
+  ~PropertyComponentAccessorY() = default;
 
   /**
    * Query whether the accessor is set.
@@ -232,9 +228,7 @@ public:
   /**
    * Non-virtual destructor; PropertyComponentAccessorZ is not suitable as a base class.
    */
-  ~PropertyComponentAccessorZ()
-  {
-  }
+  ~PropertyComponentAccessorZ() = default;
 
   /**
    * Query whether the accessor is set.
@@ -323,9 +317,7 @@ public:
   /**
    * Non-virtual destructor; PropertyComponentAccessorW is not suitable as a base class.
    */
-  ~PropertyComponentAccessorW()
-  {
-  }
+  ~PropertyComponentAccessorW() = default;
 
   /**
    * Query whether the accessor is set.
index f0d961d..3a95d54 100644 (file)
@@ -82,9 +82,7 @@ Animation::Animation( float durationSeconds, float speedFactor, const Vector2& p
 {
 }
 
-Animation::~Animation()
-{
-}
+Animation::~Animation() = default;
 
 void Animation::operator delete( void* ptr )
 {
index 120aa24..56ed6c4 100644 (file)
@@ -55,12 +55,12 @@ struct AnimatorFunctionBase
   /**
    * Constructor
    */
-  AnimatorFunctionBase() {}
+  AnimatorFunctionBase() = default;
 
   /*
    * Virtual destructor (Intended as base class)
    */
-  virtual ~AnimatorFunctionBase() {}
+  virtual ~AnimatorFunctionBase() = default;
 
   ///Stub "()" operators.
   virtual bool operator()(float progress, const bool& property)
@@ -610,9 +610,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~Animator() override
-  {
-  }
+  ~Animator() override = default;
 
   /**
    * @copydoc AnimatorBase::DoUpdate( BufferIndex bufferIndex, bool bake, float alpha )
@@ -699,9 +697,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatorTransformProperty() override
-  {
-  }
+  ~AnimatorTransformProperty() override = default;
 
   /**
    * @copydoc AnimatorBase::DoUpdate( BufferIndex bufferIndex, bool bake, float alpha )
index ef32672..4015114 100644 (file)
@@ -72,9 +72,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~Constraint() override
-  {
-  }
+  ~Constraint() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::ConstraintBase::Apply()
index a586a0d..35daa3e 100644 (file)
@@ -77,8 +77,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatablePropertyBase() override
-  {}
+  ~AnimatablePropertyBase() override = default;
 
 protected: // for derived classes
 
@@ -144,9 +143,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatableProperty() override
-  {
-  }
+  ~AnimatableProperty() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -317,9 +314,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatableProperty() override
-  {
-  }
+  ~AnimatableProperty() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -498,9 +493,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatableProperty() override
-  {
-  }
+  ~AnimatableProperty() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -680,9 +673,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatableProperty() override
-  {
-  }
+  ~AnimatableProperty() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -952,9 +943,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatableProperty() override
-  {
-  }
+  ~AnimatableProperty() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -1278,9 +1267,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatableProperty() override
-  {
-  }
+  ~AnimatableProperty() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -1663,9 +1650,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatableProperty() override
-  {
-  }
+  ~AnimatableProperty() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -1822,9 +1807,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatableProperty() override
-  {
-  }
+  ~AnimatableProperty() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -1985,9 +1968,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~AnimatableProperty() override
-  {
-  }
+  ~AnimatableProperty() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
index 855f7b1..2131cbd 100644 (file)
@@ -47,9 +47,7 @@ DiscardQueue::DiscardQueue( RenderQueue& renderQueue )
 {
 }
 
-DiscardQueue::~DiscardQueue()
-{
-}
+DiscardQueue::~DiscardQueue() = default;
 
 void DiscardQueue::Add( BufferIndex updateBufferIndex, Node* node )
 {
index 4cd573e..dc3559f 100644 (file)
@@ -68,9 +68,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~InheritedVector3() override
-  {
-  }
+  ~InheritedVector3() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -219,9 +217,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~InheritedColor() override
-  {
-  }
+  ~InheritedColor() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -388,9 +384,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~InheritedQuaternion() override
-  {
-  }
+  ~InheritedQuaternion() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -538,9 +532,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~InheritedMatrix() override
-  {
-  }
+  ~InheritedMatrix() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
index 18504e0..23abd3e 100644 (file)
@@ -26,14 +26,9 @@ namespace Internal
 
 namespace SceneGraph
 {
+PropertyBase::PropertyBase() = default;
 
-PropertyBase::PropertyBase()
-{
-}
-
-PropertyBase::~PropertyBase()
-{
-}
+PropertyBase::~PropertyBase() = default;
 
 } // namespace SceneGraph
 
index 9cc7014..85e3b05 100644 (file)
@@ -29,13 +29,9 @@ namespace SceneGraph
 
 // Messages for a property owner
 
-PropertyOwnerMessageBase::PropertyOwnerMessageBase()
-{
-}
+PropertyOwnerMessageBase::PropertyOwnerMessageBase() = default;
 
-PropertyOwnerMessageBase::~PropertyOwnerMessageBase()
-{
-}
+PropertyOwnerMessageBase::~PropertyOwnerMessageBase() = default;
 
 } // namespace SceneGraph
 
index 8af4362..db5759d 100644 (file)
@@ -98,9 +98,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~AnimatablePropertyMessage() override
-  {
-  }
+  ~AnimatablePropertyMessage() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -176,9 +174,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~AnimatablePropertyComponentMessage() override
-  {
-  }
+  ~AnimatablePropertyComponentMessage() override = default;
 
   /**
    * @copydoc MessageBase::Process
index 5fbfc5a..d8f3330 100644 (file)
@@ -80,8 +80,7 @@ public:
     /**
      * Virtual destructor, no deletion through this interface
      */
-    virtual ~Observer() {}
-
+    virtual ~Observer() = default;
   };
 
   /**
index c6e6161..a4194a1 100644 (file)
@@ -36,9 +36,7 @@ SceneGraphBuffers::SceneGraphBuffers()
 {
 }
 
-SceneGraphBuffers::~SceneGraphBuffers()
-{
-}
+SceneGraphBuffers::~SceneGraphBuffers() = default;
 
 void SceneGraphBuffers::Swap()
 {
index 73a3c2e..b97e2e0 100644 (file)
@@ -22,14 +22,9 @@ namespace Internal
 {
 namespace SceneGraph
 {
+ConnectionChangePropagator::ConnectionChangePropagator() = default;
 
-ConnectionChangePropagator::ConnectionChangePropagator()
-{
-}
-
-ConnectionChangePropagator::~ConnectionChangePropagator()
-{
-}
+ConnectionChangePropagator::~ConnectionChangePropagator() = default;
 
 void ConnectionChangePropagator::Add(Observer& observer)
 {
index 72f520e..3621541 100644 (file)
@@ -59,8 +59,7 @@ public:
     /**
      * Virtual destructor, no deletion through this interface
      */
-    virtual ~Observer() {}
-
+    virtual ~Observer() = default;
   };
 
   /**
index ecc6ab9..c3e5fd9 100644 (file)
@@ -122,9 +122,7 @@ PropertyNotification::PropertyNotification(Object& object,
   }
 }
 
-PropertyNotification::~PropertyNotification()
-{
-}
+PropertyNotification::~PropertyNotification() = default;
 
 bool PropertyNotification::EvalFalse( const Dali::PropertyInput& value, RawArgumentContainer& arg )
 {
index 5045c2e..c68ac13 100644 (file)
@@ -23,10 +23,7 @@ namespace Internal
 {
 namespace SceneGraph
 {
-
-UniformMap::UniformMap()
-{
-}
+UniformMap::UniformMap() = default;
 
 UniformMap::~UniformMap()
 {
index b3afaa2..2df39e2 100644 (file)
@@ -92,7 +92,7 @@ public:
     /**
      * Virtual destructor, no deletion through this interface
      */
-    virtual ~Observer() {}
+    virtual ~Observer() = default;
   };
 
   /**
index 19d02c9..466697c 100644 (file)
@@ -40,9 +40,7 @@ RenderMessageDispatcher::RenderMessageDispatcher( RenderManager& renderManager,
 {
 }
 
-RenderMessageDispatcher::~RenderMessageDispatcher()
-{
-}
+RenderMessageDispatcher::~RenderMessageDispatcher() = default;
 
 void RenderMessageDispatcher::AddRenderer( OwnerPointer< Render::Renderer >& renderer )
 {
index 718f966..ee528e8 100644 (file)
@@ -38,9 +38,7 @@ SceneControllerImpl::SceneControllerImpl( RenderMessageDispatcher& renderMessage
 {
 }
 
-SceneControllerImpl::~SceneControllerImpl()
-{
-}
+SceneControllerImpl::~SceneControllerImpl() = default;
 
 } // namespace SceneGraph
 
index a30bb49..5eb5aea 100644 (file)
@@ -41,16 +41,12 @@ public:
   /**
    * Constructor
    */
-  SceneController()
-  {
-  }
+  SceneController() = default;
 
   /**
    * Destructor
    */
-  virtual ~SceneController()
-  {
-  }
+  virtual ~SceneController() = default;
 
   /**
    * Return the render message dispatcher
index c1f73b3..41eb695 100644 (file)
@@ -62,9 +62,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~GestureProperty() override
-  {
-  }
+  ~GestureProperty() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -151,9 +149,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~GesturePropertyVector2() override
-  {
-  }
+  ~GesturePropertyVector2() override = default;
 
   /**
    * @copydoc Dali::PropertyInput::GetVector2()
@@ -174,9 +170,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~GesturePropertyBool() override
-  {
-  }
+  ~GesturePropertyBool() override = default;
 
   /**
    * @copydoc Dali::PropertyInput::GetBoolean()
index 017a5de..8386102 100644 (file)
@@ -77,19 +77,12 @@ public:
      */
     struct Info
     {
-      Info()
-      {
-      }
+      Info() = default;
 
       /**
        * Copy constructor
        */
-      Info( const Info& rhs )
-      : velocity( rhs.velocity ),
-        displacement( rhs.displacement ),
-        position( rhs.position )
-      {
-      }
+      Info(const Info& rhs) = default;
 
       /**
        * Assignment operator
index 5c713f2..ca36566 100644 (file)
@@ -42,9 +42,7 @@ FrameCallbackProcessor::FrameCallbackProcessor( UpdateManager& updateManager, Tr
 {
 }
 
-FrameCallbackProcessor::~FrameCallbackProcessor()
-{
-}
+FrameCallbackProcessor::~FrameCallbackProcessor() = default;
 
 void FrameCallbackProcessor::AddFrameCallback( OwnerPointer< FrameCallback >& frameCallback, const Node* rootNode )
 {
index 2072912..fb6cb56 100644 (file)
@@ -49,8 +49,7 @@ struct FreeList
   /**
    * Destructor
    */
-  ~FreeList()
-  {}
+  ~FreeList() = default;
 
   /**
    * Adds a new item to the list. If there is no more space in the vector it will
index 4d1b55d..057e66e 100644 (file)
@@ -351,9 +351,7 @@ RenderInstructionProcessor::RenderInstructionProcessor()
   mSortComparitors.PushBack( CompareItems3DWithClipping );
 }
 
-RenderInstructionProcessor::~RenderInstructionProcessor()
-{
-}
+RenderInstructionProcessor::~RenderInstructionProcessor() = default;
 
 inline void RenderInstructionProcessor::SortRenderItems( BufferIndex bufferIndex, RenderList& renderList, Layer& layer, bool respectClippingOrder )
 {
index 73ea5cf..0079c2c 100644 (file)
@@ -308,13 +308,9 @@ bool ProcessTasks( BufferIndex updateBufferIndex,
 
 } // Anonymous namespace.
 
-RenderTaskProcessor::RenderTaskProcessor()
-{
-}
+RenderTaskProcessor::RenderTaskProcessor() = default;
 
-RenderTaskProcessor::~RenderTaskProcessor()
-{
-}
+RenderTaskProcessor::~RenderTaskProcessor() = default;
 
 bool RenderTaskProcessor::Process( BufferIndex updateBufferIndex,
                                    RenderTaskList& renderTasks,
index fc1583b..e2874d3 100644 (file)
@@ -311,9 +311,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~TransformManagerVector3Input() override
-  {
-  }
+  ~TransformManagerVector3Input() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -473,9 +471,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~TransformManagerQuaternionInput() override
-  {
-  }
+  ~TransformManagerQuaternionInput() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
@@ -624,9 +620,7 @@ public:
   /**
    * Virtual destructor.
    */
-  ~TransformManagerMatrixInput() override
-  {
-  }
+  ~TransformManagerMatrixInput() override = default;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::PropertyBase::GetType()
index c2cc4bb..a51b0d7 100644 (file)
@@ -82,8 +82,7 @@ TransformManager::TransformManager()
  mReorder(false)
 {}
 
-TransformManager::~TransformManager()
-{}
+TransformManager::~TransformManager() = default;
 
 TransformId TransformManager::CreateTransform()
 {
index bf5d3e4..73e0f38 100644 (file)
@@ -98,9 +98,7 @@ struct NodeDepthPair
 
 struct NodeDepths
 {
-  NodeDepths()
-  {
-  }
+  NodeDepths() = default;
 
   void Add( SceneGraph::Node* node, uint32_t sortedDepth )
   {
@@ -1328,9 +1326,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~IndexBufferMessage() override
-  {
-  }
+  ~IndexBufferMessage() override = default;
 
   /**
    * @copydoc MessageBase::Process
index 11a5385..297391b 100644 (file)
@@ -66,9 +66,7 @@ UpdateProxy::UpdateProxy( SceneGraph::UpdateManager& updateManager, SceneGraph::
 {
 }
 
-UpdateProxy::~UpdateProxy()
-{
-}
+UpdateProxy::~UpdateProxy() = default;
 
 bool UpdateProxy::GetPosition( uint32_t id, Vector3& position ) const
 {
index edac935..2b6a666 100644 (file)
@@ -35,9 +35,7 @@ NodePropertyMessageBase::NodePropertyMessageBase(UpdateManager& updateManager)
 {
 }
 
-NodePropertyMessageBase::~NodePropertyMessageBase()
-{
-}
+NodePropertyMessageBase::~NodePropertyMessageBase() = default;
 
 } // namespace SceneGraph
 
index c7da093..0fc422f 100644 (file)
@@ -95,9 +95,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~NodePropertyMessage() override
-  {
-  }
+  ~NodePropertyMessage() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -175,9 +173,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~NodePropertyComponentMessage() override
-  {
-  }
+  ~NodePropertyComponentMessage() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -253,9 +249,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~NodeTransformPropertyMessage() override
-  {
-  }
+  ~NodeTransformPropertyMessage() override = default;
 
   /**
    * @copydoc MessageBase::Process
@@ -331,9 +325,7 @@ public:
   /**
    * Virtual destructor
    */
-  ~NodeTransformComponentMessage() override
-  {
-  }
+  ~NodeTransformComponentMessage() override = default;
 
   /**
    * @copydoc MessageBase::Process
old mode 100755 (executable)
new mode 100644 (file)
index 0c3c641..14cdc54
@@ -56,9 +56,7 @@ Layer::Layer()
   mAllChildTransformsClean[ 1 ] = false;
 }
 
-Layer::~Layer()
-{
-}
+Layer::~Layer() = default;
 
 void Layer::SetSortFunction( Dali::Layer::SortFunctionType function )
 {
index 5a4a529..e644bb3 100644 (file)
@@ -185,9 +185,7 @@ Camera* Camera::New()
   return new Camera();
 }
 
-Camera::~Camera()
-{
-}
+Camera::~Camera() = default;
 
 void Camera::SetNode( const Node* node )
 {
index 63d9118..eb495ba 100644 (file)
@@ -49,9 +49,7 @@ RenderTaskList::RenderTaskList()
 {
 }
 
-RenderTaskList::~RenderTaskList()
-{
-}
+RenderTaskList::~RenderTaskList() = default;
 
 void RenderTaskList::operator delete( void* ptr )
 {
index ee06114..0b455bd 100644 (file)
@@ -33,9 +33,7 @@
 
 namespace Dali
 {
-Actor::Actor()
-{
-}
+Actor::Actor() = default;
 
 Actor Actor::New()
 {
@@ -49,9 +47,7 @@ Actor Actor::DownCast(BaseHandle handle)
   return Actor(dynamic_cast<Dali::Internal::Actor*>(handle.GetObjectPtr()));
 }
 
-Actor::~Actor()
-{
-}
+Actor::~Actor() = default;
 
 Actor::Actor(const Actor& copy) = default;
 
index fab6bef..93c1cfd 100644 (file)
@@ -47,18 +47,11 @@ CameraActor CameraActor::DownCast(BaseHandle handle)
   return CameraActor(dynamic_cast<Dali::Internal::CameraActor*>(handle.GetObjectPtr()));
 }
 
-CameraActor::CameraActor()
-{
-}
+CameraActor::CameraActor() = default;
 
-CameraActor::~CameraActor()
-{
-}
+CameraActor::~CameraActor() = default;
 
-CameraActor::CameraActor(const CameraActor& copy)
-: Actor(copy)
-{
-}
+CameraActor::CameraActor(const CameraActor& copy) = default;
 
 CameraActor& CameraActor::operator=(const CameraActor& rhs)
 {
index cd36dbd..1ff533b 100644 (file)
@@ -39,9 +39,7 @@ CustomActorImpl::CustomActorImpl(ActorFlags flags)
 {
 }
 
-CustomActorImpl::~CustomActorImpl()
-{
-}
+CustomActorImpl::~CustomActorImpl() = default;
 
 void CustomActorImpl::Initialize(Internal::CustomActor& owner)
 {
index 62de9b7..bceb7e1 100644 (file)
@@ -38,18 +38,14 @@ TypeRegistration mType(typeid(Dali::CustomActor), typeid(Dali::Actor), Create);
 
 } // namespace
 
-CustomActor::CustomActor()
-{
-}
+CustomActor::CustomActor() = default;
 
 CustomActor CustomActor::DownCast(BaseHandle handle)
 {
   return CustomActor(dynamic_cast<Dali::Internal::CustomActor*>(handle.GetObjectPtr()));
 }
 
-CustomActor::~CustomActor()
-{
-}
+CustomActor::~CustomActor() = default;
 
 CustomActor::CustomActor(const CustomActor& copy) = default;
 
index 3da3365..1f1be7c 100644 (file)
@@ -25,9 +25,7 @@ namespace Dali
 {
 using Dali::Layer;
 
-Layer::Layer()
-{
-}
+Layer::Layer() = default;
 
 Layer Layer::New()
 {
@@ -41,9 +39,7 @@ Layer Layer::DownCast(BaseHandle handle)
   return Layer(dynamic_cast<Dali::Internal::Layer*>(handle.GetObjectPtr()));
 }
 
-Layer::~Layer()
-{
-}
+Layer::~Layer() = default;
 
 Layer::Layer(const Layer& copy) = default;
 
index 508280c..d1987c5 100644 (file)
@@ -27,9 +27,7 @@
 
 namespace Dali
 {
-Animation::Animation()
-{
-}
+Animation::Animation() = default;
 
 Animation::Animation(Internal::Animation* animation)
 : BaseHandle(animation)
@@ -48,9 +46,7 @@ Animation Animation::DownCast(BaseHandle handle)
   return Animation(dynamic_cast<Dali::Internal::Animation*>(handle.GetObjectPtr()));
 }
 
-Animation::~Animation()
-{
-}
+Animation::~Animation() = default;
 
 Animation::Animation(const Animation& handle) = default;
 
index 2622943..4175919 100644 (file)
@@ -38,18 +38,14 @@ Internal::PropertyConstraint<P>* CreatePropertyConstraint(CallbackBase* func)
 
 const Constraint::RemoveAction Constraint::DEFAULT_REMOVE_ACTION = Constraint::BAKE;
 
-Constraint::Constraint()
-{
-}
+Constraint::Constraint() = default;
 
 Constraint Constraint::Clone(Handle object)
 {
   return Constraint(GetImplementation(*this).Clone(GetImplementation(object)));
 }
 
-Constraint::~Constraint()
-{
-}
+Constraint::~Constraint() = default;
 
 Constraint::Constraint(const Constraint& constraint) = default;
 
index 63bcf0d..56571b7 100644 (file)
@@ -47,9 +47,7 @@ struct EqualToConstraint
    * @brief Constructor.
    * @SINCE_1_0.0
    */
-  EqualToConstraint()
-  {
-  }
+  EqualToConstraint() = default;
 
   /**
    * @brief Overrides functor for float properties.
index d2394dd..dbf21e1 100644 (file)
@@ -37,13 +37,9 @@ KeyFrames KeyFrames::DownCast(BaseHandle handle)
   return KeyFrames(dynamic_cast<Dali::Internal::KeyFrames*>(handle.GetObjectPtr()));
 }
 
-KeyFrames::KeyFrames()
-{
-}
+KeyFrames::KeyFrames() = default;
 
-KeyFrames::~KeyFrames()
-{
-}
+KeyFrames::~KeyFrames() = default;
 
 KeyFrames::KeyFrames(const KeyFrames& handle) = default;
 
index 8a99504..3f147a4 100644 (file)
@@ -34,13 +34,9 @@ LinearConstrainer LinearConstrainer::DownCast(BaseHandle handle)
   return LinearConstrainer(dynamic_cast<Dali::Internal::LinearConstrainer*>(handle.GetObjectPtr()));
 }
 
-LinearConstrainer::LinearConstrainer()
-{
-}
+LinearConstrainer::LinearConstrainer() = default;
 
-LinearConstrainer::~LinearConstrainer()
-{
-}
+LinearConstrainer::~LinearConstrainer() = default;
 
 LinearConstrainer::LinearConstrainer(const LinearConstrainer& handle) = default;
 
index f16b7ba..d5666a3 100644 (file)
@@ -34,13 +34,9 @@ Path Path::DownCast(BaseHandle handle)
   return Path(dynamic_cast<Dali::Internal::Path*>(handle.GetObjectPtr()));
 }
 
-Path::Path()
-{
-}
+Path::Path() = default;
 
-Path::~Path()
-{
-}
+Path::~Path() = default;
 
 Path::Path(const Path& handle) = default;
 
index f8f5840..4646b22 100644 (file)
@@ -32,8 +32,6 @@ TimePeriod::TimePeriod(float delay, float duration)
 {
 }
 
-TimePeriod::~TimePeriod()
-{
-}
+TimePeriod::~TimePeriod() = default;
 
 } // namespace Dali
index e12f4ab..4f153aa 100644 (file)
@@ -28,9 +28,7 @@ VectorBase::VectorBase()
 {
 }
 
-VectorBase::~VectorBase()
-{
-}
+VectorBase::~VectorBase() = default;
 
 VectorBase::SizeType VectorBase::Capacity() const
 {
index 5a61b64..8564cec 100644 (file)
@@ -234,17 +234,13 @@ protected: // API for deriving classes
    * @brief Empty constructor.
    * @SINCE_1_0.0
    */
-  VectorAlgorithms()
-  {
-  }
+  VectorAlgorithms() = default;
 
   /**
    * @brief Empty destructor.
    * @SINCE_1_0.0
    */
-  ~VectorAlgorithms()
-  {
-  }
+  ~VectorAlgorithms() = default;
 
   /**
    * @brief Copy vector contents.
@@ -392,12 +388,8 @@ template<>
 class VectorAlgorithms<false> : public VectorBase
 {
 private:
-  VectorAlgorithms()
-  {
-  }
-  ~VectorAlgorithms()
-  {
-  }
+  VectorAlgorithms()  = default;
+  ~VectorAlgorithms() = default;
 };
 /// @endcond
 
@@ -433,9 +425,7 @@ public: // API
    * @brief Default constructor. Does not allocate any space.
    * @SINCE_1_0.0
    */
-  Vector()
-  {
-  }
+  Vector() = default;
 
   /**
    * @brief Destructor. Releases the allocated space.
index 36a838a..63b3fd1 100644 (file)
@@ -28,23 +28,16 @@ GestureDetector::GestureDetector(Internal::GestureDetector* internal)
 {
 }
 
-GestureDetector::GestureDetector()
-{
-}
+GestureDetector::GestureDetector() = default;
 
 GestureDetector GestureDetector::DownCast(BaseHandle handle)
 {
   return GestureDetector(dynamic_cast<Dali::Internal::GestureDetector*>(handle.GetObjectPtr()));
 }
 
-GestureDetector::~GestureDetector()
-{
-}
+GestureDetector::~GestureDetector() = default;
 
-GestureDetector::GestureDetector(const GestureDetector& handle)
-: Handle(handle)
-{
-}
+GestureDetector::GestureDetector(const GestureDetector& handle) = default;
 
 GestureDetector& GestureDetector::operator=(const GestureDetector& rhs)
 {
index be6badd..20c1ca4 100644 (file)
@@ -23,9 +23,7 @@
 
 namespace Dali
 {
-Gesture::Gesture()
-{
-}
+Gesture::Gesture() = default;
 
 Gesture::Gesture(Internal::Gesture* internal)
 : BaseHandle(internal)
@@ -40,9 +38,7 @@ Gesture& Gesture::operator=(const Gesture& rhs) = default;
 
 Gesture& Gesture::operator=(Gesture&& rhs) = default;
 
-Gesture::~Gesture()
-{
-}
+Gesture::~Gesture() = default;
 
 GestureType::Value Gesture::GetType() const
 {
index 21968dc..754db44 100644 (file)
@@ -33,9 +33,7 @@ HoverEvent::HoverEvent(const HoverEvent& rhs) = default;
 
 HoverEvent::HoverEvent(HoverEvent&& rhs) = default;
 
-HoverEvent::~HoverEvent()
-{
-}
+HoverEvent::~HoverEvent() = default;
 
 HoverEvent& HoverEvent::operator=(const HoverEvent& rhs) = default;
 
index 7235d4d..fe6bfcf 100644 (file)
@@ -32,9 +32,7 @@ KeyEvent::KeyEvent(const KeyEvent& rhs) = default;
 
 KeyEvent::KeyEvent(KeyEvent&& rhs) = default;
 
-KeyEvent::~KeyEvent()
-{
-}
+KeyEvent::~KeyEvent() = default;
 
 KeyEvent& KeyEvent::operator=(const KeyEvent& rhs) = default;
 
index ca7b4e3..abc7ee4 100644 (file)
@@ -28,9 +28,7 @@ LongPressGestureDetector::LongPressGestureDetector(Internal::LongPressGestureDet
 {
 }
 
-LongPressGestureDetector::LongPressGestureDetector()
-{
-}
+LongPressGestureDetector::LongPressGestureDetector() = default;
 
 LongPressGestureDetector LongPressGestureDetector::New()
 {
@@ -58,14 +56,9 @@ LongPressGestureDetector LongPressGestureDetector::DownCast(BaseHandle handle)
   return LongPressGestureDetector(dynamic_cast<Dali::Internal::LongPressGestureDetector*>(handle.GetObjectPtr()));
 }
 
-LongPressGestureDetector::~LongPressGestureDetector()
-{
-}
+LongPressGestureDetector::~LongPressGestureDetector() = default;
 
-LongPressGestureDetector::LongPressGestureDetector(const LongPressGestureDetector& handle)
-: GestureDetector(handle)
-{
-}
+LongPressGestureDetector::LongPressGestureDetector(const LongPressGestureDetector& handle) = default;
 
 LongPressGestureDetector& LongPressGestureDetector::operator=(const LongPressGestureDetector& rhs)
 {
index 343cf98..a129a81 100644 (file)
@@ -36,9 +36,7 @@ PanGestureDetector::PanGestureDetector(Internal::PanGestureDetector* internal)
 {
 }
 
-PanGestureDetector::PanGestureDetector()
-{
-}
+PanGestureDetector::PanGestureDetector() = default;
 
 PanGestureDetector PanGestureDetector::New()
 {
@@ -52,14 +50,9 @@ PanGestureDetector PanGestureDetector::DownCast(BaseHandle handle)
   return PanGestureDetector(dynamic_cast<Dali::Internal::PanGestureDetector*>(handle.GetObjectPtr()));
 }
 
-PanGestureDetector::~PanGestureDetector()
-{
-}
+PanGestureDetector::~PanGestureDetector() = default;
 
-PanGestureDetector::PanGestureDetector(const PanGestureDetector& handle)
-: GestureDetector(handle)
-{
-}
+PanGestureDetector::PanGestureDetector(const PanGestureDetector& handle) = default;
 
 PanGestureDetector& PanGestureDetector::operator=(const PanGestureDetector& rhs)
 {
index 933f336..f2244f6 100644 (file)
@@ -28,9 +28,7 @@ PinchGestureDetector::PinchGestureDetector(Internal::PinchGestureDetector* inter
 {
 }
 
-PinchGestureDetector::PinchGestureDetector()
-{
-}
+PinchGestureDetector::PinchGestureDetector() = default;
 
 PinchGestureDetector PinchGestureDetector::New()
 {
@@ -44,14 +42,9 @@ PinchGestureDetector PinchGestureDetector::DownCast(BaseHandle handle)
   return PinchGestureDetector(dynamic_cast<Dali::Internal::PinchGestureDetector*>(handle.GetObjectPtr()));
 }
 
-PinchGestureDetector::~PinchGestureDetector()
-{
-}
+PinchGestureDetector::~PinchGestureDetector() = default;
 
-PinchGestureDetector::PinchGestureDetector(const PinchGestureDetector& handle)
-: GestureDetector(handle)
-{
-}
+PinchGestureDetector::PinchGestureDetector(const PinchGestureDetector& handle) = default;
 
 PinchGestureDetector& PinchGestureDetector::operator=(const PinchGestureDetector& rhs)
 {
index 778fac4..0f84368 100644 (file)
@@ -28,9 +28,7 @@ RotationGestureDetector::RotationGestureDetector(Internal::RotationGestureDetect
 {
 }
 
-RotationGestureDetector::RotationGestureDetector()
-{
-}
+RotationGestureDetector::RotationGestureDetector() = default;
 
 RotationGestureDetector RotationGestureDetector::New()
 {
@@ -44,14 +42,9 @@ RotationGestureDetector RotationGestureDetector::DownCast(BaseHandle handle)
   return RotationGestureDetector(dynamic_cast<Dali::Internal::RotationGestureDetector*>(handle.GetObjectPtr()));
 }
 
-RotationGestureDetector::~RotationGestureDetector()
-{
-}
+RotationGestureDetector::~RotationGestureDetector() = default;
 
-RotationGestureDetector::RotationGestureDetector(const RotationGestureDetector& handle)
-: GestureDetector(handle)
-{
-}
+RotationGestureDetector::RotationGestureDetector(const RotationGestureDetector& handle) = default;
 
 RotationGestureDetector& RotationGestureDetector::operator=(const RotationGestureDetector& rhs)
 {
index ee42cc1..fa9376d 100644 (file)
@@ -28,9 +28,7 @@ TapGestureDetector::TapGestureDetector(Internal::TapGestureDetector* internal)
 {
 }
 
-TapGestureDetector::TapGestureDetector()
-{
-}
+TapGestureDetector::TapGestureDetector() = default;
 
 TapGestureDetector TapGestureDetector::New()
 {
@@ -51,14 +49,9 @@ TapGestureDetector TapGestureDetector::DownCast(BaseHandle handle)
   return TapGestureDetector(dynamic_cast<Dali::Internal::TapGestureDetector*>(handle.GetObjectPtr()));
 }
 
-TapGestureDetector::~TapGestureDetector()
-{
-}
+TapGestureDetector::~TapGestureDetector() = default;
 
-TapGestureDetector::TapGestureDetector(const TapGestureDetector& handle)
-: GestureDetector(handle)
-{
-}
+TapGestureDetector::TapGestureDetector(const TapGestureDetector& handle) = default;
 
 TapGestureDetector& TapGestureDetector::operator=(const TapGestureDetector& rhs)
 {
index e179135..95436f5 100644 (file)
@@ -32,9 +32,7 @@ WheelEvent::WheelEvent(const WheelEvent& rhs) = default;
 
 WheelEvent::WheelEvent(WheelEvent&& rhs) = default;
 
-WheelEvent::~WheelEvent()
-{
-}
+WheelEvent::~WheelEvent() = default;
 
 WheelEvent& WheelEvent::operator=(const WheelEvent& rhs) = default;
 
index 249cd91..717e365 100644 (file)
@@ -163,9 +163,7 @@ protected:
    * The implementation should destroy the NativeImage resources.
    * @SINCE_1_0.0
    */
-  ~NativeImageInterface() override
-  {
-  }
+  ~NativeImageInterface() override = default;
 };
 
 /**
index 8b401bd..7086e7d 100644 (file)
@@ -34,13 +34,9 @@ PixelData PixelData::New(uint8_t*        buffer,
   return PixelData(internal.Get());
 }
 
-PixelData::PixelData()
-{
-}
+PixelData::PixelData() = default;
 
-PixelData::~PixelData()
-{
-}
+PixelData::~PixelData() = default;
 
 PixelData::PixelData(Internal::PixelData* internal)
 : BaseHandle(internal)
index 693857a..8876bc1 100644 (file)
@@ -159,9 +159,7 @@ public:
    * @brief Destructor.
    * @SINCE_1_0.0
    */
-  ~Matrix3()
-  {
-  }
+  ~Matrix3() = default;
 
   /**
    * @brief Sets the matrix to the identity matrix.
index eb68c50..e682660 100644 (file)
@@ -113,9 +113,7 @@ Quaternion::Quaternion(const Vector3& v0, const Vector3& v1)
   }
 }
 
-Quaternion::~Quaternion()
-{
-}
+Quaternion::~Quaternion() = default;
 
 bool Quaternion::IsIdentity() const
 {
index c9675ed..121cc0d 100644 (file)
@@ -33,13 +33,9 @@ BaseHandle::BaseHandle(Dali::BaseObject* handle)
 {
 }
 
-BaseHandle::BaseHandle()
-{
-}
+BaseHandle::BaseHandle() = default;
 
-BaseHandle::~BaseHandle()
-{
-}
+BaseHandle::~BaseHandle() = default;
 
 BaseHandle::BaseHandle(const BaseHandle& handle) = default;
 
index 41d00e6..98ed327 100644 (file)
@@ -34,9 +34,7 @@ BaseObject::BaseObject()
 {
 }
 
-BaseObject::~BaseObject()
-{
-}
+BaseObject::~BaseObject() = default;
 
 void BaseObject::RegisterObject()
 {
index d765582..b09c0e5 100644 (file)
@@ -33,18 +33,14 @@ Handle::Handle(Dali::Internal::Object* handle)
 {
 }
 
-Handle::Handle()
-{
-}
+Handle::Handle() = default;
 
 Handle Handle::New()
 {
   return Handle(Internal::Object::New().Get());
 }
 
-Handle::~Handle()
-{
-}
+Handle::~Handle() = default;
 
 Handle::Handle(const Handle& handle) = default;
 
index 7830abd..b7f9a37 100644 (file)
 
 namespace Dali
 {
-ObjectRegistry::ObjectRegistry()
-{
-}
+ObjectRegistry::ObjectRegistry() = default;
 
-ObjectRegistry::~ObjectRegistry()
-{
-}
+ObjectRegistry::~ObjectRegistry() = default;
 
 ObjectRegistry::ObjectRegistry(const ObjectRegistry& copy) = default;
 
index 46ee48f..9929d6e 100644 (file)
@@ -29,9 +29,7 @@ PropertyCondition::PropertyCondition()
 {
 }
 
-PropertyCondition::~PropertyCondition()
-{
-}
+PropertyCondition::~PropertyCondition() = default;
 
 PropertyCondition::PropertyCondition(const PropertyCondition& handle) = default;
 
index 3b6c820..1f83cb5 100644 (file)
@@ -20,8 +20,6 @@
 
 namespace Dali
 {
-PropertyInput::~PropertyInput()
-{
-}
+PropertyInput::~PropertyInput() = default;
 
 } // namespace Dali
index 682b845..6f9e26f 100644 (file)
@@ -29,9 +29,7 @@
 
 namespace Dali
 {
-PropertyNotification::PropertyNotification()
-{
-}
+PropertyNotification::PropertyNotification() = default;
 
 PropertyNotification::PropertyNotification(Internal::PropertyNotification* propertyNotification)
 : BaseHandle(propertyNotification)
@@ -43,9 +41,7 @@ PropertyNotification PropertyNotification::DownCast(BaseHandle handle)
   return PropertyNotification(dynamic_cast<Dali::Internal::PropertyNotification*>(handle.GetObjectPtr()));
 }
 
-PropertyNotification::~PropertyNotification()
-{
-}
+PropertyNotification::~PropertyNotification() = default;
 
 PropertyNotification::PropertyNotification(const PropertyNotification& copy) = default;
 
index 77aa921..37a272a 100644 (file)
@@ -53,8 +53,6 @@ Property::Property(Handle& obj, const std::string& propertyName, int32_t compInd
   propertyIndex = object.GetPropertyIndex(propertyName);
 }
 
-Property::~Property()
-{
-}
+Property::~Property() = default;
 
 } // namespace Dali
index 76e147c..50a1fc9 100644 (file)
 
 namespace Dali
 {
-TypeInfo::TypeInfo()
-{
-}
+TypeInfo::TypeInfo() = default;
 
-TypeInfo::~TypeInfo()
-{
-}
+TypeInfo::~TypeInfo() = default;
 
 TypeInfo::TypeInfo(const TypeInfo& copy) = default;
 
index e9a0ab2..93e0d0e 100644 (file)
 
 namespace Dali
 {
-TypeRegistry::TypeRegistry()
-{
-}
+TypeRegistry::TypeRegistry() = default;
 
-TypeRegistry::~TypeRegistry()
-{
-}
+TypeRegistry::~TypeRegistry() = default;
 
 TypeRegistry::TypeRegistry(const TypeRegistry& copy) = default;
 
index 91a0795..b3a8aa7 100644 (file)
@@ -162,9 +162,7 @@ public:
   /**
    * @copydoc Dali::WeakHandleBase::~WeakHandleBase()
    */
-  ~WeakHandle()
-  {
-  }
+  ~WeakHandle() = default;
 
   /**
    * @copydoc Dali::WeakHandleBase::WeakHandleBase(const WeakHandleBase&)
index 60bfeda..eabd958 100644 (file)
 
 namespace Dali
 {
-RenderTaskList::RenderTaskList()
-{
-}
+RenderTaskList::RenderTaskList() = default;
 
 RenderTaskList RenderTaskList::DownCast(BaseHandle handle)
 {
   return RenderTaskList(dynamic_cast<Dali::Internal::RenderTaskList*>(handle.GetObjectPtr()));
 }
 
-RenderTaskList::~RenderTaskList()
-{
-}
+RenderTaskList::~RenderTaskList() = default;
 
 RenderTaskList::RenderTaskList(const RenderTaskList& handle) = default;
 
index bba07a4..1688b26 100644 (file)
@@ -48,18 +48,14 @@ const bool     RenderTask::DEFAULT_CLEAR_ENABLED = false;
 const bool     RenderTask::DEFAULT_CULL_MODE     = true;
 const uint32_t RenderTask::DEFAULT_REFRESH_RATE  = REFRESH_ALWAYS;
 
-RenderTask::RenderTask()
-{
-}
+RenderTask::RenderTask() = default;
 
 RenderTask RenderTask::DownCast(BaseHandle handle)
 {
   return RenderTask(dynamic_cast<Dali::Internal::RenderTask*>(handle.GetObjectPtr()));
 }
 
-RenderTask::~RenderTask()
-{
-}
+RenderTask::~RenderTask() = default;
 
 RenderTask::RenderTask(const RenderTask& handle) = default;
 
index 8fc7aeb..4b45a92 100644 (file)
@@ -56,13 +56,9 @@ FrameBuffer FrameBuffer::New(uint32_t width, uint32_t height, Attachment::Mask a
   return FrameBuffer(frameBuffer.Get());
 }
 
-FrameBuffer::FrameBuffer()
-{
-}
+FrameBuffer::FrameBuffer() = default;
 
-FrameBuffer::~FrameBuffer()
-{
-}
+FrameBuffer::~FrameBuffer() = default;
 
 FrameBuffer::FrameBuffer(const FrameBuffer& handle) = default;
 
index 09e9303..6c82097 100644 (file)
@@ -29,13 +29,9 @@ Geometry Geometry::New()
   return Geometry(geometry.Get());
 }
 
-Geometry::Geometry()
-{
-}
+Geometry::Geometry() = default;
 
-Geometry::~Geometry()
-{
-}
+Geometry::~Geometry() = default;
 
 Geometry::Geometry(const Geometry& handle) = default;
 
index be49c1b..f857986 100644 (file)
@@ -31,13 +31,9 @@ Renderer Renderer::New(Geometry& geometry, Shader& shader)
   return Renderer(renderer.Get());
 }
 
-Renderer::Renderer()
-{
-}
+Renderer::Renderer() = default;
 
-Renderer::~Renderer()
-{
-}
+Renderer::~Renderer() = default;
 
 Renderer::Renderer(const Renderer& handle) = default;
 
index 8dd4eaa..990e2ee 100644 (file)
@@ -29,13 +29,9 @@ Sampler Sampler::New()
   return Sampler(sampler.Get());
 }
 
-Sampler::Sampler()
-{
-}
+Sampler::Sampler() = default;
 
-Sampler::~Sampler()
-{
-}
+Sampler::~Sampler() = default;
 
 Sampler::Sampler(const Sampler& handle) = default;
 
index d452ea3..760bf79 100644 (file)
@@ -31,13 +31,9 @@ Shader Shader::New(const std::string& vertexShader,
   return Shader(renderer.Get());
 }
 
-Shader::Shader()
-{
-}
+Shader::Shader() = default;
 
-Shader::~Shader()
-{
-}
+Shader::~Shader() = default;
 
 Shader::Shader(const Shader& handle) = default;
 
index 62e908a..6f9fa6b 100644 (file)
@@ -31,13 +31,9 @@ TextureSet TextureSet::New()
   return TextureSet(textureSet.Get());
 }
 
-TextureSet::TextureSet()
-{
-}
+TextureSet::TextureSet() = default;
 
-TextureSet::~TextureSet()
-{
-}
+TextureSet::~TextureSet() = default;
 
 TextureSet::TextureSet(const TextureSet& handle) = default;
 
index c348a95..da81783 100644 (file)
@@ -36,13 +36,9 @@ Texture Texture::New(NativeImageInterface& nativeImageInterface)
   return Texture(texture.Get());
 }
 
-Texture::Texture()
-{
-}
+Texture::Texture() = default;
 
-Texture::~Texture()
-{
-}
+Texture::~Texture() = default;
 
 Texture::Texture(const Texture& handle) = default;
 
index a267edd..4adb49b 100644 (file)
@@ -31,13 +31,9 @@ VertexBuffer VertexBuffer::New(Dali::Property::Map& bufferFormat)
   return VertexBuffer(vertexBuffer.Get());
 }
 
-VertexBuffer::VertexBuffer()
-{
-}
+VertexBuffer::VertexBuffer() = default;
 
-VertexBuffer::~VertexBuffer()
-{
-}
+VertexBuffer::~VertexBuffer() = default;
 
 VertexBuffer::VertexBuffer(const VertexBuffer& handle) = default;
 
index 97da38a..7326407 100644 (file)
 
 namespace Dali
 {
-ConnectionTrackerInterface::ConnectionTrackerInterface()
-{
-}
+ConnectionTrackerInterface::ConnectionTrackerInterface() = default;
 
-ConnectionTrackerInterface::~ConnectionTrackerInterface()
-{
-}
+ConnectionTrackerInterface::~ConnectionTrackerInterface() = default;
 
 } // namespace Dali
index ef7a4c5..5499ae9 100644 (file)
@@ -24,9 +24,7 @@
 
 namespace Dali
 {
-ConnectionTracker::ConnectionTracker()
-{
-}
+ConnectionTracker::ConnectionTracker() = default;
 
 ConnectionTracker::~ConnectionTracker()
 {
index b8c293a..67151a9 100644 (file)
 
 namespace Dali
 {
-SignalObserver::SignalObserver()
-{
-}
+SignalObserver::SignalObserver() = default;
 
-SignalObserver::~SignalObserver()
-{
-}
+SignalObserver::~SignalObserver() = default;
 
-SlotObserver::SlotObserver()
-{
-}
+SlotObserver::SlotObserver() = default;
 
-SlotObserver::~SlotObserver()
-{
-}
+SlotObserver::~SlotObserver() = default;
 
 } // namespace Dali
index acbd1ff..a757da6 100644 (file)
@@ -92,9 +92,7 @@ public:
    *
    * @SINCE_1_0.0
    */
-  ~SlotDelegate()
-  {
-  }
+  ~SlotDelegate() = default;
 
   /**
    * @brief Disconnects all signals from this object.
index 19a076e..515b6b3 100644 (file)
@@ -44,17 +44,13 @@ public:
    *
    * @SINCE_1_0.0
    */
-  RelayoutContainer()
-  {
-  }
+  RelayoutContainer() = default;
 
   /**
    * @brief Virtual destructor.
    * @SINCE_1_0.0
    */
-  virtual ~RelayoutContainer()
-  {
-  }
+  virtual ~RelayoutContainer() = default;
 
   /**
    * @brief Adds relayout information to the container if it doesn't already exist.