From 0b501ba800a263b97d99adf224fc42d0c2aa8b37 Mon Sep 17 00:00:00 2001 From: Eunki Hong Date: Fri, 10 Mar 2023 02:13:37 +0900 Subject: [PATCH] Ensure BaseHandle class move noexcept (core public-api) Change-Id: I3fab491948f51ffcc2905c3340452d585d23553a Signed-off-by: Eunki Hong --- automated-tests/src/dali/utc-Dali-Extents.cpp | 31 ++++++++++++++++++++ dali/integration-api/scene.cpp | 4 +-- dali/integration-api/scene.h | 4 +-- dali/internal/common/ordered-set.h | 4 +-- dali/public-api/actors/actor.cpp | 4 +-- dali/public-api/actors/actor.h | 4 +-- dali/public-api/actors/camera-actor.cpp | 4 +-- dali/public-api/actors/camera-actor.h | 4 +-- dali/public-api/actors/custom-actor.cpp | 4 +-- dali/public-api/actors/custom-actor.h | 4 +-- dali/public-api/actors/drawable-actor.h | 33 ++++++++++++++++++++++ dali/public-api/actors/layer.cpp | 4 +-- dali/public-api/actors/layer.h | 4 +-- dali/public-api/animation/animation.cpp | 4 +-- dali/public-api/animation/animation.h | 4 +-- dali/public-api/animation/constraint.cpp | 4 +-- dali/public-api/animation/constraint.h | 4 +-- dali/public-api/animation/key-frames.cpp | 4 +-- dali/public-api/animation/key-frames.h | 4 +-- dali/public-api/animation/linear-constrainer.cpp | 4 +-- dali/public-api/animation/linear-constrainer.h | 4 +-- dali/public-api/animation/path.cpp | 4 +-- dali/public-api/animation/path.h | 4 +-- dali/public-api/common/extents.h | 15 ++++++++++ dali/public-api/events/gesture-detector.cpp | 4 +-- dali/public-api/events/gesture-detector.h | 4 +-- dali/public-api/events/gesture.cpp | 4 +-- dali/public-api/events/gesture.h | 4 +-- dali/public-api/events/hover-event.cpp | 4 +-- dali/public-api/events/hover-event.h | 4 +-- dali/public-api/events/key-event.cpp | 4 +-- dali/public-api/events/key-event.h | 4 +-- .../events/long-press-gesture-detector.cpp | 4 +-- .../events/long-press-gesture-detector.h | 4 +-- dali/public-api/events/long-press-gesture.cpp | 4 +-- dali/public-api/events/long-press-gesture.h | 4 +-- dali/public-api/events/pan-gesture-detector.cpp | 4 +-- dali/public-api/events/pan-gesture-detector.h | 4 +-- dali/public-api/events/pan-gesture.cpp | 4 +-- dali/public-api/events/pan-gesture.h | 4 +-- dali/public-api/events/pinch-gesture-detector.cpp | 4 +-- dali/public-api/events/pinch-gesture-detector.h | 4 +-- dali/public-api/events/pinch-gesture.cpp | 4 +-- dali/public-api/events/pinch-gesture.h | 4 +-- .../events/rotation-gesture-detector.cpp | 4 +-- dali/public-api/events/rotation-gesture-detector.h | 4 +-- dali/public-api/events/rotation-gesture.cpp | 4 +-- dali/public-api/events/rotation-gesture.h | 4 +-- dali/public-api/events/tap-gesture-detector.cpp | 4 +-- dali/public-api/events/tap-gesture-detector.h | 4 +-- dali/public-api/events/tap-gesture.cpp | 4 +-- dali/public-api/events/tap-gesture.h | 4 +-- dali/public-api/events/touch-event.cpp | 4 +-- dali/public-api/events/touch-event.h | 4 +-- dali/public-api/events/wheel-event.cpp | 4 +-- dali/public-api/events/wheel-event.h | 4 +-- dali/public-api/images/pixel-data.cpp | 4 +-- dali/public-api/images/pixel-data.h | 4 +-- dali/public-api/math/angle-axis.h | 4 +-- dali/public-api/object/handle.cpp | 4 +-- dali/public-api/object/handle.h | 4 +-- dali/public-api/object/object-registry.cpp | 4 +-- dali/public-api/object/object-registry.h | 4 +-- dali/public-api/object/property-conditions.cpp | 4 +-- dali/public-api/object/property-conditions.h | 4 +-- dali/public-api/object/property-notification.cpp | 4 +-- dali/public-api/object/property-notification.h | 4 +-- dali/public-api/object/type-info.cpp | 4 +-- dali/public-api/object/type-info.h | 4 +-- dali/public-api/object/type-registry.cpp | 4 +-- dali/public-api/object/type-registry.h | 4 +-- dali/public-api/object/weak-handle.cpp | 4 +-- dali/public-api/object/weak-handle.h | 4 +-- dali/public-api/render-tasks/render-task-list.cpp | 4 +-- dali/public-api/render-tasks/render-task-list.h | 4 +-- dali/public-api/render-tasks/render-task.cpp | 4 +-- dali/public-api/render-tasks/render-task.h | 4 +-- .../rendering/decorated-visual-renderer.cpp | 4 +-- .../rendering/decorated-visual-renderer.h | 4 +-- dali/public-api/rendering/frame-buffer.cpp | 4 +-- dali/public-api/rendering/frame-buffer.h | 4 +-- dali/public-api/rendering/geometry.cpp | 4 +-- dali/public-api/rendering/geometry.h | 4 +-- dali/public-api/rendering/renderer.cpp | 4 +-- dali/public-api/rendering/renderer.h | 4 +-- dali/public-api/rendering/sampler.cpp | 4 +-- dali/public-api/rendering/sampler.h | 4 +-- dali/public-api/rendering/shader.cpp | 4 +-- dali/public-api/rendering/shader.h | 4 +-- dali/public-api/rendering/texture-set.cpp | 4 +-- dali/public-api/rendering/texture-set.h | 4 +-- dali/public-api/rendering/texture.cpp | 4 +-- dali/public-api/rendering/texture.h | 4 +-- dali/public-api/rendering/vertex-buffer.cpp | 4 +-- dali/public-api/rendering/vertex-buffer.h | 4 +-- dali/public-api/rendering/visual-renderer.cpp | 4 +-- dali/public-api/rendering/visual-renderer.h | 4 +-- 97 files changed, 267 insertions(+), 188 deletions(-) diff --git a/automated-tests/src/dali/utc-Dali-Extents.cpp b/automated-tests/src/dali/utc-Dali-Extents.cpp index 435dfd5..f4e09b0 100644 --- a/automated-tests/src/dali/utc-Dali-Extents.cpp +++ b/automated-tests/src/dali/utc-Dali-Extents.cpp @@ -112,6 +112,37 @@ int UtcDaliExtentsCopyAssignment(void) END_TEST; } +int UtcDaliExtentsMoveConstructor(void) +{ + TestApplication application; + + Extents extent(10u, 20u, 400u, 200u); + + Extents extent2(std::move(extent)); + + DALI_TEST_EQUALS(extent2.start, 10u, TEST_LOCATION); + DALI_TEST_EQUALS(extent2.end, 20u, TEST_LOCATION); + DALI_TEST_EQUALS(extent2.top, 400u, TEST_LOCATION); + DALI_TEST_EQUALS(extent2.bottom, 200u, TEST_LOCATION); + END_TEST; +} + +int UtcDaliExtentsMoveAssignment(void) +{ + TestApplication application; + + Extents extent; + + Extents extent2(10u, 20u, 400u, 200u); + extent = std::move(extent2); + + DALI_TEST_EQUALS(extent.start, 10u, TEST_LOCATION); + DALI_TEST_EQUALS(extent.end, 20u, TEST_LOCATION); + DALI_TEST_EQUALS(extent.top, 400u, TEST_LOCATION); + DALI_TEST_EQUALS(extent.bottom, 200u, TEST_LOCATION); + END_TEST; +} + int UtcDaliExtentsAssignP(void) { Extents extent; diff --git a/dali/integration-api/scene.cpp b/dali/integration-api/scene.cpp index a836ad8..d84c422 100644 --- a/dali/integration-api/scene.cpp +++ b/dali/integration-api/scene.cpp @@ -49,9 +49,9 @@ Scene::Scene(const Scene& handle) = default; Scene& Scene::operator=(const Scene& rhs) = default; -Scene::Scene(Scene&& handle) = default; +Scene::Scene(Scene&& handle) noexcept = default; -Scene& Scene::operator=(Scene&& rhs) = default; +Scene& Scene::operator=(Scene&& rhs) noexcept = default; Scene::Scene(Internal::Scene* internal) : BaseHandle(internal) diff --git a/dali/integration-api/scene.h b/dali/integration-api/scene.h index a54b0dd..75d4939 100644 --- a/dali/integration-api/scene.h +++ b/dali/integration-api/scene.h @@ -126,7 +126,7 @@ public: * * @param [in] handle A reference to the moved handle */ - Scene(Scene&& handle); + Scene(Scene&& handle) noexcept; /** * @brief This move assignment operator is required for (smart) pointer semantics. @@ -134,7 +134,7 @@ public: * @param [in] rhs A reference to the moved handle * @return A reference to this */ - Scene& operator=(Scene&& rhs); + Scene& operator=(Scene&& rhs) noexcept; /** * @brief Adds a child Actor to the Scene. diff --git a/dali/internal/common/ordered-set.h b/dali/internal/common/ordered-set.h index 9f86dae..7c76310 100644 --- a/dali/internal/common/ordered-set.h +++ b/dali/internal/common/ordered-set.h @@ -66,7 +66,7 @@ public: /** * @brief Move construct */ - OrderedSet(OrderedSet&& rhs) + OrderedSet(OrderedSet&& rhs) noexcept : mMap(std::move(rhs.mMap)), mList(std::move(rhs.mList)) { @@ -78,7 +78,7 @@ public: /** * @brief Move assign */ - OrderedSet& operator=(OrderedSet&& rhs) + OrderedSet& operator=(OrderedSet&& rhs) noexcept { Clear(); mMap = std::move(rhs.mMap); diff --git a/dali/public-api/actors/actor.cpp b/dali/public-api/actors/actor.cpp index 33c6f9f..0c1b911 100644 --- a/dali/public-api/actors/actor.cpp +++ b/dali/public-api/actors/actor.cpp @@ -54,9 +54,9 @@ Actor::Actor(const Actor& copy) = default; Actor& Actor::operator=(const Actor& rhs) = default; -Actor::Actor(Actor&& rhs) = default; +Actor::Actor(Actor&& rhs) noexcept = default; -Actor& Actor::operator=(Actor&& rhs) = default; +Actor& Actor::operator=(Actor&& rhs) noexcept = default; Layer Actor::GetLayer() { diff --git a/dali/public-api/actors/actor.h b/dali/public-api/actors/actor.h index 0252ce5..8d3e9b6 100644 --- a/dali/public-api/actors/actor.h +++ b/dali/public-api/actors/actor.h @@ -807,7 +807,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the actor to move */ - Actor(Actor&& rhs); + Actor(Actor&& rhs) noexcept; /** * @brief Move assignment operator. @@ -816,7 +816,7 @@ public: * @param[in] rhs A reference to the actor to move * @return A reference to this */ - Actor& operator=(Actor&& rhs); + Actor& operator=(Actor&& rhs) noexcept; // Containment diff --git a/dali/public-api/actors/camera-actor.cpp b/dali/public-api/actors/camera-actor.cpp index 10593d7..fa8f08c 100644 --- a/dali/public-api/actors/camera-actor.cpp +++ b/dali/public-api/actors/camera-actor.cpp @@ -62,9 +62,9 @@ CameraActor::CameraActor(const CameraActor& copy) = default; CameraActor& CameraActor::operator=(const CameraActor& rhs) = default; -CameraActor::CameraActor(CameraActor&& rhs) = default; +CameraActor::CameraActor(CameraActor&& rhs) noexcept = default; -CameraActor& CameraActor::operator=(CameraActor&& rhs) = default; +CameraActor& CameraActor::operator=(CameraActor&& rhs) noexcept = default; void CameraActor::SetType(Dali::Camera::Type type) { diff --git a/dali/public-api/actors/camera-actor.h b/dali/public-api/actors/camera-actor.h index 00337f2..5f5268b 100644 --- a/dali/public-api/actors/camera-actor.h +++ b/dali/public-api/actors/camera-actor.h @@ -208,7 +208,7 @@ public: * @SINCE_2_2.4 * @param[in] rhs A reference to the actor to move */ - CameraActor(CameraActor&& rhs); + CameraActor(CameraActor&& rhs) noexcept; /** * @brief Move assignment operator. @@ -217,7 +217,7 @@ public: * @param[in] rhs A reference to the actor to move * @return A reference to this */ - CameraActor& operator=(CameraActor&& rhs); + CameraActor& operator=(CameraActor&& rhs) noexcept; /** * @brief Sets the camera type. diff --git a/dali/public-api/actors/custom-actor.cpp b/dali/public-api/actors/custom-actor.cpp index bceb7e1..99cf536 100644 --- a/dali/public-api/actors/custom-actor.cpp +++ b/dali/public-api/actors/custom-actor.cpp @@ -51,9 +51,9 @@ CustomActor::CustomActor(const CustomActor& copy) = default; CustomActor& CustomActor::operator=(const CustomActor& rhs) = default; -CustomActor::CustomActor(CustomActor&& rhs) = default; +CustomActor::CustomActor(CustomActor&& rhs) noexcept = default; -CustomActor& CustomActor::operator=(CustomActor&& rhs) = default; +CustomActor& CustomActor::operator=(CustomActor&& rhs) noexcept = default; CustomActorImpl& CustomActor::GetImplementation() { diff --git a/dali/public-api/actors/custom-actor.h b/dali/public-api/actors/custom-actor.h index d353d6c..329840e 100644 --- a/dali/public-api/actors/custom-actor.h +++ b/dali/public-api/actors/custom-actor.h @@ -119,7 +119,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs The actor to move */ - CustomActor(CustomActor&& rhs); + CustomActor(CustomActor&& rhs) noexcept; /** * @brief Move assignment operator. @@ -128,7 +128,7 @@ public: * @param[in] rhs The actor to move * @return A reference to this */ - CustomActor& operator=(CustomActor&& rhs); + CustomActor& operator=(CustomActor&& rhs) noexcept; public: // Not intended for application developers /** diff --git a/dali/public-api/actors/drawable-actor.h b/dali/public-api/actors/drawable-actor.h index 72a94c2..f0b0ac5 100644 --- a/dali/public-api/actors/drawable-actor.h +++ b/dali/public-api/actors/drawable-actor.h @@ -60,6 +60,39 @@ public: */ DrawableActor() = default; + /** + * @brief Copy constructor. + * + * @SINCE_2_2.17 + * @param[in] copy The actor to copy + */ + DrawableActor(const DrawableActor& copy) = default; + + /** + * @brief Assignment operator. + * + * @SINCE_2_2.17 + * @param[in] rhs The actor to copy + * @return A reference to this + */ + DrawableActor& operator=(const DrawableActor& rhs) = default; + + /** + * @brief Move constructor. + * + * @SINCE_2_2.17 + * @param[in] rhs The actor to move + */ + DrawableActor(DrawableActor&& rhs) noexcept = default; + + /** + * @brief Move assignment operator. + * + * @SINCE_2_2.17 + * @param[in] rhs The actor to move + * @return A reference to this + */ + DrawableActor& operator=(DrawableActor&& rhs) noexcept = default; private: explicit DrawableActor(Internal::DrawableActor* internal); }; diff --git a/dali/public-api/actors/layer.cpp b/dali/public-api/actors/layer.cpp index 31d1729..2f19079 100644 --- a/dali/public-api/actors/layer.cpp +++ b/dali/public-api/actors/layer.cpp @@ -43,9 +43,9 @@ Layer::Layer(const Layer& copy) = default; Layer& Layer::operator=(const Layer& rhs) = default; -Layer::Layer(Layer&& rhs) = default; +Layer::Layer(Layer&& rhs) noexcept = default; -Layer& Layer::operator=(Layer&& rhs) = default; +Layer& Layer::operator=(Layer&& rhs) noexcept = default; void Layer::Raise() { diff --git a/dali/public-api/actors/layer.h b/dali/public-api/actors/layer.h index 13f5328..311f63d 100644 --- a/dali/public-api/actors/layer.h +++ b/dali/public-api/actors/layer.h @@ -277,7 +277,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs The layer to move */ - Layer(Layer&& rhs); + Layer(Layer&& rhs) noexcept; /** * @brief Move assignment operator. @@ -286,7 +286,7 @@ public: * @param[in] rhs The layer to move * @return A reference to this */ - Layer& operator=(Layer&& rhs); + Layer& operator=(Layer&& rhs) noexcept; /** * @brief Increments the depth of the layer. diff --git a/dali/public-api/animation/animation.cpp b/dali/public-api/animation/animation.cpp index d1987c5..fbb8a93 100644 --- a/dali/public-api/animation/animation.cpp +++ b/dali/public-api/animation/animation.cpp @@ -52,9 +52,9 @@ Animation::Animation(const Animation& handle) = default; Animation& Animation::operator=(const Animation& rhs) = default; -Animation::Animation(Animation&& rhs) = default; +Animation::Animation(Animation&& rhs) noexcept = default; -Animation& Animation::operator=(Animation&& rhs) = default; +Animation& Animation::operator=(Animation&& rhs) noexcept = default; void Animation::SetDuration(float durationSeconds) { diff --git a/dali/public-api/animation/animation.h b/dali/public-api/animation/animation.h index 73599f4..4117d01 100644 --- a/dali/public-api/animation/animation.h +++ b/dali/public-api/animation/animation.h @@ -237,7 +237,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - Animation(Animation&& rhs); + Animation(Animation&& rhs) noexcept; /** * @brief Move assignment operator. @@ -246,7 +246,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - Animation& operator=(Animation&& rhs); + Animation& operator=(Animation&& rhs) noexcept; /** * @brief Sets the duration of an animation. diff --git a/dali/public-api/animation/constraint.cpp b/dali/public-api/animation/constraint.cpp index 4175919..8fdc606 100644 --- a/dali/public-api/animation/constraint.cpp +++ b/dali/public-api/animation/constraint.cpp @@ -51,9 +51,9 @@ Constraint::Constraint(const Constraint& constraint) = default; Constraint& Constraint::operator=(const Constraint& rhs) = default; -Constraint::Constraint(Constraint&& rhs) = default; +Constraint::Constraint(Constraint&& rhs) noexcept = default; -Constraint& Constraint::operator=(Constraint&& rhs) = default; +Constraint& Constraint::operator=(Constraint&& rhs) noexcept = default; Constraint Constraint::DownCast(BaseHandle baseHandle) { diff --git a/dali/public-api/animation/constraint.h b/dali/public-api/animation/constraint.h index 6bdcb7c..8df0446 100644 --- a/dali/public-api/animation/constraint.h +++ b/dali/public-api/animation/constraint.h @@ -423,7 +423,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - Constraint(Constraint&& rhs); + Constraint(Constraint&& rhs) noexcept; /** * @brief Move assignment operator. @@ -432,7 +432,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - Constraint& operator=(Constraint&& rhs); + Constraint& operator=(Constraint&& rhs) noexcept; /** * @brief Downcasts a handle to Constraint handle. diff --git a/dali/public-api/animation/key-frames.cpp b/dali/public-api/animation/key-frames.cpp index bff6040..a700771 100644 --- a/dali/public-api/animation/key-frames.cpp +++ b/dali/public-api/animation/key-frames.cpp @@ -45,9 +45,9 @@ KeyFrames::KeyFrames(const KeyFrames& handle) = default; KeyFrames& KeyFrames::operator=(const KeyFrames& rhs) = default; -KeyFrames::KeyFrames(KeyFrames&& rhs) = default; +KeyFrames::KeyFrames(KeyFrames&& rhs) noexcept = default; -KeyFrames& KeyFrames::operator=(KeyFrames&& rhs) = default; +KeyFrames& KeyFrames::operator=(KeyFrames&& rhs) noexcept = default; Property::Type KeyFrames::GetType() const { diff --git a/dali/public-api/animation/key-frames.h b/dali/public-api/animation/key-frames.h index 0d140b0..d7bafc7 100644 --- a/dali/public-api/animation/key-frames.h +++ b/dali/public-api/animation/key-frames.h @@ -107,7 +107,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - KeyFrames(KeyFrames&& rhs); + KeyFrames(KeyFrames&& rhs) noexcept; /** * @brief Move assignment operator. @@ -116,7 +116,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this */ - KeyFrames& operator=(KeyFrames&& rhs); + KeyFrames& operator=(KeyFrames&& rhs) noexcept; /** * @brief Gets the type of the key frame. diff --git a/dali/public-api/animation/linear-constrainer.cpp b/dali/public-api/animation/linear-constrainer.cpp index 3f147a4..d3b7f29 100644 --- a/dali/public-api/animation/linear-constrainer.cpp +++ b/dali/public-api/animation/linear-constrainer.cpp @@ -47,9 +47,9 @@ LinearConstrainer::LinearConstrainer(Internal::LinearConstrainer* internal) LinearConstrainer& LinearConstrainer::operator=(const LinearConstrainer& rhs) = default; -LinearConstrainer::LinearConstrainer(LinearConstrainer&& rhs) = default; +LinearConstrainer::LinearConstrainer(LinearConstrainer&& rhs) noexcept = default; -LinearConstrainer& LinearConstrainer::operator=(LinearConstrainer&& rhs) = default; +LinearConstrainer& LinearConstrainer::operator=(LinearConstrainer&& rhs) noexcept = default; void LinearConstrainer::Apply(Dali::Property target, Dali::Property source, const Vector2& range, const Vector2& wrap) { diff --git a/dali/public-api/animation/linear-constrainer.h b/dali/public-api/animation/linear-constrainer.h index 3346b24..87473f6 100644 --- a/dali/public-api/animation/linear-constrainer.h +++ b/dali/public-api/animation/linear-constrainer.h @@ -133,7 +133,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - LinearConstrainer(LinearConstrainer&& rhs); + LinearConstrainer(LinearConstrainer&& rhs) noexcept; /** * @brief Move assignment operator. @@ -142,7 +142,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this */ - LinearConstrainer& operator=(LinearConstrainer&& rhs); + LinearConstrainer& operator=(LinearConstrainer&& rhs) noexcept; /** * @brief Applies the linear constraint to the target property. diff --git a/dali/public-api/animation/path.cpp b/dali/public-api/animation/path.cpp index d5666a3..133ae94 100644 --- a/dali/public-api/animation/path.cpp +++ b/dali/public-api/animation/path.cpp @@ -47,9 +47,9 @@ Path::Path(Internal::Path* internal) Path& Path::operator=(const Path& rhs) = default; -Path::Path(Path&& rhs) = default; +Path::Path(Path&& rhs) noexcept = default; -Path& Path::operator=(Path&& rhs) = default; +Path& Path::operator=(Path&& rhs) noexcept = default; void Path::AddPoint(const Vector3& point) { diff --git a/dali/public-api/animation/path.h b/dali/public-api/animation/path.h index efb70bb..ceafd15 100644 --- a/dali/public-api/animation/path.h +++ b/dali/public-api/animation/path.h @@ -120,7 +120,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - Path(Path&& rhs); + Path(Path&& rhs) noexcept; /** * @brief Move assignment operator. @@ -129,7 +129,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this */ - Path& operator=(Path&& rhs); + Path& operator=(Path&& rhs) noexcept; /** * @brief Adds an interpolation point. diff --git a/dali/public-api/common/extents.h b/dali/public-api/common/extents.h index 507d1a1..922a955 100644 --- a/dali/public-api/common/extents.h +++ b/dali/public-api/common/extents.h @@ -52,6 +52,13 @@ struct DALI_CORE_API Extents Extents(const Extents& copy) = default; /** + * @brief Move constructor. + * @SINCE_2_2.17 + * @param[in] move A reference to the moved Extents + */ + Extents(Extents&& move) = default; + + /** * @brief Constructor. * * @SINCE_1_2.62 @@ -71,6 +78,14 @@ struct DALI_CORE_API Extents Extents& operator=(const Extents& copy) = default; /** + * @brief Move Assignment operator. + * @SINCE_2_2.17 + * @param[in] move A reference to the moved Extents + * @return Itself + */ + Extents& operator=(Extents&& move) = default; + + /** * @brief Assignment operator. * * @SINCE_1_2.62 diff --git a/dali/public-api/events/gesture-detector.cpp b/dali/public-api/events/gesture-detector.cpp index f59fa01..d1d6d0e 100644 --- a/dali/public-api/events/gesture-detector.cpp +++ b/dali/public-api/events/gesture-detector.cpp @@ -41,9 +41,9 @@ GestureDetector::GestureDetector(const GestureDetector& handle) = default; GestureDetector& GestureDetector::operator=(const GestureDetector& rhs) = default; -GestureDetector::GestureDetector(GestureDetector&& handle) = default; +GestureDetector::GestureDetector(GestureDetector&& handle) noexcept = default; -GestureDetector& GestureDetector::operator=(GestureDetector&& rhs) = default; +GestureDetector& GestureDetector::operator=(GestureDetector&& rhs) noexcept = default; void GestureDetector::Attach(Actor actor) { diff --git a/dali/public-api/events/gesture-detector.h b/dali/public-api/events/gesture-detector.h index 5ddcc4d..432d9bc 100644 --- a/dali/public-api/events/gesture-detector.h +++ b/dali/public-api/events/gesture-detector.h @@ -102,7 +102,7 @@ public: // Creation & Destruction * @SINCE_2_2.4 * @param[in] handle A reference to the moved handle */ - GestureDetector(GestureDetector&& handle); + GestureDetector(GestureDetector&& handle) noexcept; /** * @brief This move assignment operator is required for (smart) pointer semantics. @@ -111,7 +111,7 @@ public: // Creation & Destruction * @param[in] rhs A reference to the moved handle * @return A reference to this */ - GestureDetector& operator=(GestureDetector&& rhs); + GestureDetector& operator=(GestureDetector&& rhs) noexcept; public: // Actor related /** diff --git a/dali/public-api/events/gesture.cpp b/dali/public-api/events/gesture.cpp index da26137..575ead0 100644 --- a/dali/public-api/events/gesture.cpp +++ b/dali/public-api/events/gesture.cpp @@ -32,11 +32,11 @@ Gesture::Gesture(Internal::Gesture* internal) Gesture::Gesture(const Gesture& rhs) = default; -Gesture::Gesture(Gesture&& rhs) = default; +Gesture::Gesture(Gesture&& rhs)noexcept = default; Gesture& Gesture::operator=(const Gesture& rhs) = default; -Gesture& Gesture::operator=(Gesture&& rhs) = default; +Gesture& Gesture::operator=(Gesture&& rhs)noexcept = default; Gesture::~Gesture() = default; diff --git a/dali/public-api/events/gesture.h b/dali/public-api/events/gesture.h index 2529cb9..571a593 100644 --- a/dali/public-api/events/gesture.h +++ b/dali/public-api/events/gesture.h @@ -76,7 +76,7 @@ public: * @SINCE_1_9.28 * @param[in] rhs A reference to the handle to move */ - Gesture(Gesture&& rhs); + Gesture(Gesture&& rhs) noexcept; /** * @brief Assignment operator. @@ -92,7 +92,7 @@ public: * @param[in] rhs A reference to the handle to move * @return A reference to this */ - Gesture& operator=(Gesture&& rhs); + Gesture& operator=(Gesture&& rhs) noexcept; /** * @brief Non virtual destructor. diff --git a/dali/public-api/events/hover-event.cpp b/dali/public-api/events/hover-event.cpp index 754db44..962bc1d 100644 --- a/dali/public-api/events/hover-event.cpp +++ b/dali/public-api/events/hover-event.cpp @@ -31,13 +31,13 @@ HoverEvent::HoverEvent() HoverEvent::HoverEvent(const HoverEvent& rhs) = default; -HoverEvent::HoverEvent(HoverEvent&& rhs) = default; +HoverEvent::HoverEvent(HoverEvent&& rhs) noexcept = default; HoverEvent::~HoverEvent() = default; HoverEvent& HoverEvent::operator=(const HoverEvent& rhs) = default; -HoverEvent& HoverEvent::operator=(HoverEvent&& rhs) = default; +HoverEvent& HoverEvent::operator=(HoverEvent&& rhs) noexcept = default; unsigned long HoverEvent::GetTime() const { diff --git a/dali/public-api/events/hover-event.h b/dali/public-api/events/hover-event.h index 26593b5..aed8899 100644 --- a/dali/public-api/events/hover-event.h +++ b/dali/public-api/events/hover-event.h @@ -75,7 +75,7 @@ public: * @SINCE_1_9.25 * @param[in] rhs A reference to the moved HoverEvent */ - HoverEvent(HoverEvent&& rhs); + HoverEvent(HoverEvent&& rhs) noexcept; /** * @brief Destructor. @@ -101,7 +101,7 @@ public: * @param[in] rhs A reference to the moved HoverEvent * @return A reference to this */ - HoverEvent& operator=(HoverEvent&& rhs); + HoverEvent& operator=(HoverEvent&& rhs) noexcept; // Getters diff --git a/dali/public-api/events/key-event.cpp b/dali/public-api/events/key-event.cpp index fe6bfcf..9693649 100644 --- a/dali/public-api/events/key-event.cpp +++ b/dali/public-api/events/key-event.cpp @@ -30,13 +30,13 @@ KeyEvent::KeyEvent() KeyEvent::KeyEvent(const KeyEvent& rhs) = default; -KeyEvent::KeyEvent(KeyEvent&& rhs) = default; +KeyEvent::KeyEvent(KeyEvent&& rhs) noexcept = default; KeyEvent::~KeyEvent() = default; KeyEvent& KeyEvent::operator=(const KeyEvent& rhs) = default; -KeyEvent& KeyEvent::operator=(KeyEvent&& rhs) = default; +KeyEvent& KeyEvent::operator=(KeyEvent&& rhs) noexcept = default; bool KeyEvent::IsShiftModifier() const { diff --git a/dali/public-api/events/key-event.h b/dali/public-api/events/key-event.h index b1e332c..d853c91 100644 --- a/dali/public-api/events/key-event.h +++ b/dali/public-api/events/key-event.h @@ -90,7 +90,7 @@ public: * @SINCE_1_9.27 * @param[in] rhs A reference to the moved handle */ - KeyEvent(KeyEvent&& rhs); + KeyEvent(KeyEvent&& rhs) noexcept; /** * @brief Copy assignment operator. @@ -107,7 +107,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this */ - KeyEvent& operator=(KeyEvent&& rhs); + KeyEvent& operator=(KeyEvent&& rhs) noexcept; /** * @brief Destructor. diff --git a/dali/public-api/events/long-press-gesture-detector.cpp b/dali/public-api/events/long-press-gesture-detector.cpp index a525b71..665122e 100644 --- a/dali/public-api/events/long-press-gesture-detector.cpp +++ b/dali/public-api/events/long-press-gesture-detector.cpp @@ -62,9 +62,9 @@ LongPressGestureDetector::LongPressGestureDetector(const LongPressGestureDetecto LongPressGestureDetector& LongPressGestureDetector::operator=(const LongPressGestureDetector& rhs) = default; -LongPressGestureDetector::LongPressGestureDetector(LongPressGestureDetector&& handle) = default; +LongPressGestureDetector::LongPressGestureDetector(LongPressGestureDetector&& handle) noexcept = default; -LongPressGestureDetector& LongPressGestureDetector::operator=(LongPressGestureDetector&& rhs) = default; +LongPressGestureDetector& LongPressGestureDetector::operator=(LongPressGestureDetector&& rhs) noexcept = default; void LongPressGestureDetector::SetTouchesRequired(uint32_t touches) { diff --git a/dali/public-api/events/long-press-gesture-detector.h b/dali/public-api/events/long-press-gesture-detector.h index 472cd4a..afdcf40 100644 --- a/dali/public-api/events/long-press-gesture-detector.h +++ b/dali/public-api/events/long-press-gesture-detector.h @@ -149,7 +149,7 @@ public: // Creation & Destruction * @SINCE_2_2.4 * @param[in] handle A reference to the moved handle */ - LongPressGestureDetector(LongPressGestureDetector&& handle); + LongPressGestureDetector(LongPressGestureDetector&& handle) noexcept; /** * @brief This move assignment operator is required for (smart) pointer semantics. @@ -158,7 +158,7 @@ public: // Creation & Destruction * @param[in] rhs A reference to the moved handle * @return A reference to this */ - LongPressGestureDetector& operator=(LongPressGestureDetector&& rhs); + LongPressGestureDetector& operator=(LongPressGestureDetector&& rhs) noexcept; public: // Setters /** diff --git a/dali/public-api/events/long-press-gesture.cpp b/dali/public-api/events/long-press-gesture.cpp index 9a08810..eee597a 100644 --- a/dali/public-api/events/long-press-gesture.cpp +++ b/dali/public-api/events/long-press-gesture.cpp @@ -32,11 +32,11 @@ LongPressGesture::LongPressGesture() = default; LongPressGesture::LongPressGesture(const LongPressGesture& rhs) = default; -LongPressGesture::LongPressGesture(LongPressGesture&& rhs) = default; +LongPressGesture::LongPressGesture(LongPressGesture&& rhs) noexcept = default; LongPressGesture& LongPressGesture::operator=(const LongPressGesture& rhs) = default; -LongPressGesture& LongPressGesture::operator=(LongPressGesture&& rhs) = default; +LongPressGesture& LongPressGesture::operator=(LongPressGesture&& rhs) noexcept = default; LongPressGesture::~LongPressGesture() = default; diff --git a/dali/public-api/events/long-press-gesture.h b/dali/public-api/events/long-press-gesture.h index d28a3cf..10f0b40 100644 --- a/dali/public-api/events/long-press-gesture.h +++ b/dali/public-api/events/long-press-gesture.h @@ -68,7 +68,7 @@ public: * @SINCE_1_9.28 * @param[in] rhs A reference to the handle to move */ - LongPressGesture(LongPressGesture&& rhs); + LongPressGesture(LongPressGesture&& rhs) noexcept; /** * @brief Assignment operator. @@ -84,7 +84,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this */ - LongPressGesture& operator=(LongPressGesture&& rhs); + LongPressGesture& operator=(LongPressGesture&& rhs) noexcept; /** * @brief Non virtual destructor. diff --git a/dali/public-api/events/pan-gesture-detector.cpp b/dali/public-api/events/pan-gesture-detector.cpp index 6bf50c6..224ae34 100644 --- a/dali/public-api/events/pan-gesture-detector.cpp +++ b/dali/public-api/events/pan-gesture-detector.cpp @@ -56,9 +56,9 @@ PanGestureDetector::PanGestureDetector(const PanGestureDetector& handle) = defau PanGestureDetector& PanGestureDetector::operator=(const PanGestureDetector& rhs) = default; -PanGestureDetector::PanGestureDetector(PanGestureDetector&& handle) = default; +PanGestureDetector::PanGestureDetector(PanGestureDetector&& handle) noexcept = default; -PanGestureDetector& PanGestureDetector::operator=(PanGestureDetector&& rhs) = default; +PanGestureDetector& PanGestureDetector::operator=(PanGestureDetector&& rhs) noexcept = default; void PanGestureDetector::SetMinimumTouchesRequired(uint32_t minimum) { diff --git a/dali/public-api/events/pan-gesture-detector.h b/dali/public-api/events/pan-gesture-detector.h index edca424..7a0108d 100644 --- a/dali/public-api/events/pan-gesture-detector.h +++ b/dali/public-api/events/pan-gesture-detector.h @@ -163,7 +163,7 @@ public: // Creation & Destruction * @SINCE_2_2.4 * @param[in] handle A reference to the moved handle */ - PanGestureDetector(PanGestureDetector&& handle); + PanGestureDetector(PanGestureDetector&& handle) noexcept; /** * @brief This move assignment operator is required for (smart) pointer semantics. @@ -172,7 +172,7 @@ public: // Creation & Destruction * @param[in] rhs A reference to the moved handle * @return A reference to this */ - PanGestureDetector& operator=(PanGestureDetector&& rhs); + PanGestureDetector& operator=(PanGestureDetector&& rhs) noexcept; public: // Setters /** diff --git a/dali/public-api/events/pan-gesture.cpp b/dali/public-api/events/pan-gesture.cpp index d81c04c..44b0317 100644 --- a/dali/public-api/events/pan-gesture.cpp +++ b/dali/public-api/events/pan-gesture.cpp @@ -33,11 +33,11 @@ PanGesture::PanGesture() = default; PanGesture::PanGesture(const PanGesture& rhs) = default; -PanGesture::PanGesture(PanGesture&& rhs) = default; +PanGesture::PanGesture(PanGesture&& rhs) noexcept = default; PanGesture& PanGesture::operator=(const PanGesture& rhs) = default; -PanGesture& PanGesture::operator=(PanGesture&& rhs) = default; +PanGesture& PanGesture::operator=(PanGesture&& rhs) noexcept = default; PanGesture::~PanGesture() = default; diff --git a/dali/public-api/events/pan-gesture.h b/dali/public-api/events/pan-gesture.h index 69b6e64..93d1535 100644 --- a/dali/public-api/events/pan-gesture.h +++ b/dali/public-api/events/pan-gesture.h @@ -73,7 +73,7 @@ public: * @SINCE_1_9.28 * @param[in] rhs A reference to the moved handle */ - PanGesture(PanGesture&& rhs); + PanGesture(PanGesture&& rhs) noexcept; /** * @brief Assignment operator. @@ -89,7 +89,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this */ - PanGesture& operator=(PanGesture&& rhs); + PanGesture& operator=(PanGesture&& rhs) noexcept; /** * @brief Non virtual destructor. diff --git a/dali/public-api/events/pinch-gesture-detector.cpp b/dali/public-api/events/pinch-gesture-detector.cpp index 8d9fa55..0af9b67 100644 --- a/dali/public-api/events/pinch-gesture-detector.cpp +++ b/dali/public-api/events/pinch-gesture-detector.cpp @@ -48,9 +48,9 @@ PinchGestureDetector::PinchGestureDetector(const PinchGestureDetector& handle) = PinchGestureDetector& PinchGestureDetector::operator=(const PinchGestureDetector& rhs) = default; -PinchGestureDetector::PinchGestureDetector(PinchGestureDetector&& handle) = default; +PinchGestureDetector::PinchGestureDetector(PinchGestureDetector&& handle) noexcept = default; -PinchGestureDetector& PinchGestureDetector::operator=(PinchGestureDetector&& rhs) = default; +PinchGestureDetector& PinchGestureDetector::operator=(PinchGestureDetector&& rhs) noexcept = default; PinchGestureDetector::DetectedSignalType& PinchGestureDetector::DetectedSignal() { diff --git a/dali/public-api/events/pinch-gesture-detector.h b/dali/public-api/events/pinch-gesture-detector.h index 2b5d63a..0fbcadc 100644 --- a/dali/public-api/events/pinch-gesture-detector.h +++ b/dali/public-api/events/pinch-gesture-detector.h @@ -126,7 +126,7 @@ public: // Creation & Destruction * @SINCE_2_2.4 * @param[in] handle A reference to the moved handle */ - PinchGestureDetector(PinchGestureDetector&& handle); + PinchGestureDetector(PinchGestureDetector&& handle) noexcept; /** * @brief This move assignment operator is required for (smart) pointer semantics. @@ -135,7 +135,7 @@ public: // Creation & Destruction * @param[in] rhs A reference to the moved handle * @return A reference to this */ - PinchGestureDetector& operator=(PinchGestureDetector&& rhs); + PinchGestureDetector& operator=(PinchGestureDetector&& rhs) noexcept; public: // Signals /** diff --git a/dali/public-api/events/pinch-gesture.cpp b/dali/public-api/events/pinch-gesture.cpp index 8417785..6f783e5 100644 --- a/dali/public-api/events/pinch-gesture.cpp +++ b/dali/public-api/events/pinch-gesture.cpp @@ -33,11 +33,11 @@ PinchGesture::PinchGesture() = default; PinchGesture::PinchGesture(const PinchGesture& rhs) = default; -PinchGesture::PinchGesture(PinchGesture&& rhs) = default; +PinchGesture::PinchGesture(PinchGesture&& rhs) noexcept = default; PinchGesture& PinchGesture::operator=(const PinchGesture& rhs) = default; -PinchGesture& PinchGesture::operator=(PinchGesture&& rhs) = default; +PinchGesture& PinchGesture::operator=(PinchGesture&& rhs) noexcept = default; PinchGesture::~PinchGesture() = default; diff --git a/dali/public-api/events/pinch-gesture.h b/dali/public-api/events/pinch-gesture.h index 4691bfd..661dffe 100644 --- a/dali/public-api/events/pinch-gesture.h +++ b/dali/public-api/events/pinch-gesture.h @@ -69,7 +69,7 @@ public: * @SINCE_1_9.28 * @param[in] rhs A reference to the moved handle */ - PinchGesture(PinchGesture&& rhs); + PinchGesture(PinchGesture&& rhs) noexcept; /** * @brief Assignment operator. @@ -85,7 +85,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this */ - PinchGesture& operator=(PinchGesture&& rhs); + PinchGesture& operator=(PinchGesture&& rhs) noexcept; /** * @brief Non virtual destructor. diff --git a/dali/public-api/events/rotation-gesture-detector.cpp b/dali/public-api/events/rotation-gesture-detector.cpp index c62deef..def7165 100644 --- a/dali/public-api/events/rotation-gesture-detector.cpp +++ b/dali/public-api/events/rotation-gesture-detector.cpp @@ -48,9 +48,9 @@ RotationGestureDetector::RotationGestureDetector(const RotationGestureDetector& RotationGestureDetector& RotationGestureDetector::operator=(const RotationGestureDetector& rhs) = default; -RotationGestureDetector::RotationGestureDetector(RotationGestureDetector&& handle) = default; +RotationGestureDetector::RotationGestureDetector(RotationGestureDetector&& handle) noexcept = default; -RotationGestureDetector& RotationGestureDetector::operator=(RotationGestureDetector&& rhs) = default; +RotationGestureDetector& RotationGestureDetector::operator=(RotationGestureDetector&& rhs) noexcept = default; RotationGestureDetector::DetectedSignalType& RotationGestureDetector::DetectedSignal() { diff --git a/dali/public-api/events/rotation-gesture-detector.h b/dali/public-api/events/rotation-gesture-detector.h index 01c1548..0e5b57a 100644 --- a/dali/public-api/events/rotation-gesture-detector.h +++ b/dali/public-api/events/rotation-gesture-detector.h @@ -120,7 +120,7 @@ public: // Creation & Destruction * @SINCE_2_2.4 * @param[in] handle A reference to the moved handle */ - RotationGestureDetector(RotationGestureDetector&& handle); + RotationGestureDetector(RotationGestureDetector&& handle) noexcept; /** * @brief This move assignment operator is required for (smart) pointer semantics. @@ -129,7 +129,7 @@ public: // Creation & Destruction * @param[in] rhs A reference to the moved handle * @return A reference to this */ - RotationGestureDetector& operator=(RotationGestureDetector&& rhs); + RotationGestureDetector& operator=(RotationGestureDetector&& rhs) noexcept; public: // Signals /** diff --git a/dali/public-api/events/rotation-gesture.cpp b/dali/public-api/events/rotation-gesture.cpp index 355d910..6a3270a 100644 --- a/dali/public-api/events/rotation-gesture.cpp +++ b/dali/public-api/events/rotation-gesture.cpp @@ -33,11 +33,11 @@ RotationGesture::RotationGesture() = default; RotationGesture::RotationGesture(const RotationGesture& rhs) = default; -RotationGesture::RotationGesture(RotationGesture&& rhs) = default; +RotationGesture::RotationGesture(RotationGesture&& rhs) noexcept = default; RotationGesture& RotationGesture::operator=(const RotationGesture& rhs) = default; -RotationGesture& RotationGesture::operator=(RotationGesture&& rhs) = default; +RotationGesture& RotationGesture::operator=(RotationGesture&& rhs) noexcept = default; RotationGesture::~RotationGesture() = default; diff --git a/dali/public-api/events/rotation-gesture.h b/dali/public-api/events/rotation-gesture.h index 05cbc3a..3b13b9b 100644 --- a/dali/public-api/events/rotation-gesture.h +++ b/dali/public-api/events/rotation-gesture.h @@ -66,7 +66,7 @@ public: * @SINCE_1_9.28 * @param[in] rhs A reference to the moved handle */ - RotationGesture(RotationGesture&& rhs); + RotationGesture(RotationGesture&& rhs) noexcept; /** * @brief Assignment operator. @@ -82,7 +82,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this */ - RotationGesture& operator=(RotationGesture&& rhs); + RotationGesture& operator=(RotationGesture&& rhs) noexcept; /** * @brief Non virtual destructor. diff --git a/dali/public-api/events/tap-gesture-detector.cpp b/dali/public-api/events/tap-gesture-detector.cpp index e45e422..557e138 100644 --- a/dali/public-api/events/tap-gesture-detector.cpp +++ b/dali/public-api/events/tap-gesture-detector.cpp @@ -55,9 +55,9 @@ TapGestureDetector::TapGestureDetector(const TapGestureDetector& handle) = defau TapGestureDetector& TapGestureDetector::operator=(const TapGestureDetector& rhs) = default; -TapGestureDetector::TapGestureDetector(TapGestureDetector&& handle) = default; +TapGestureDetector::TapGestureDetector(TapGestureDetector&& handle) noexcept = default; -TapGestureDetector& TapGestureDetector::operator=(TapGestureDetector&& rhs) = default; +TapGestureDetector& TapGestureDetector::operator=(TapGestureDetector&& rhs) noexcept = default; void TapGestureDetector::SetMinimumTapsRequired(uint32_t taps) { diff --git a/dali/public-api/events/tap-gesture-detector.h b/dali/public-api/events/tap-gesture-detector.h index 2e7392d..de8fa84 100644 --- a/dali/public-api/events/tap-gesture-detector.h +++ b/dali/public-api/events/tap-gesture-detector.h @@ -145,7 +145,7 @@ public: // Creation & Destruction * @SINCE_2_2.4 * @param[in] handle A reference to the moved handle */ - TapGestureDetector(TapGestureDetector&& handle); + TapGestureDetector(TapGestureDetector&& handle) noexcept; /** * @brief This move assignment operator is required for (smart) pointer semantics. @@ -154,7 +154,7 @@ public: // Creation & Destruction * @param[in] rhs A reference to the moved handle * @return A reference to this */ - TapGestureDetector& operator=(TapGestureDetector&& rhs); + TapGestureDetector& operator=(TapGestureDetector&& rhs) noexcept; public: // Setters /** diff --git a/dali/public-api/events/tap-gesture.cpp b/dali/public-api/events/tap-gesture.cpp index 8bec36e..0704924 100644 --- a/dali/public-api/events/tap-gesture.cpp +++ b/dali/public-api/events/tap-gesture.cpp @@ -33,11 +33,11 @@ TapGesture::TapGesture() = default; TapGesture::TapGesture(const TapGesture& rhs) = default; -TapGesture::TapGesture(TapGesture&& rhs) = default; +TapGesture::TapGesture(TapGesture&& rhs) noexcept = default; TapGesture& TapGesture::operator=(const TapGesture& rhs) = default; -TapGesture& TapGesture::operator=(TapGesture&& rhs) = default; +TapGesture& TapGesture::operator=(TapGesture&& rhs) noexcept = default; TapGesture::~TapGesture() = default; diff --git a/dali/public-api/events/tap-gesture.h b/dali/public-api/events/tap-gesture.h index d0efc90..2a8eae5 100644 --- a/dali/public-api/events/tap-gesture.h +++ b/dali/public-api/events/tap-gesture.h @@ -64,7 +64,7 @@ public: * @SINCE_1_9.28 * @param rhs The handle to move. */ - TapGesture(TapGesture&& rhs); + TapGesture(TapGesture&& rhs) noexcept; /** * @brief Assignment operator. @@ -79,7 +79,7 @@ public: * @SINCE_1_9.28 * @param rhs The handle to move. */ - TapGesture& operator=(TapGesture&& rhs); + TapGesture& operator=(TapGesture&& rhs) noexcept; /** * @brief Non virtual destructor. diff --git a/dali/public-api/events/touch-event.cpp b/dali/public-api/events/touch-event.cpp index 215bafa..a222e9f 100644 --- a/dali/public-api/events/touch-event.cpp +++ b/dali/public-api/events/touch-event.cpp @@ -30,13 +30,13 @@ TouchEvent::TouchEvent() = default; TouchEvent::TouchEvent(const TouchEvent& other) = default; -TouchEvent::TouchEvent(TouchEvent&& other) = default; +TouchEvent::TouchEvent(TouchEvent&& other) noexcept = default; TouchEvent::~TouchEvent() = default; TouchEvent& TouchEvent::operator=(const TouchEvent& other) = default; -TouchEvent& TouchEvent::operator=(TouchEvent&& other) = default; +TouchEvent& TouchEvent::operator=(TouchEvent&& other) noexcept = default; unsigned long TouchEvent::GetTime() const { diff --git a/dali/public-api/events/touch-event.h b/dali/public-api/events/touch-event.h index ed99c9c..81e73b1 100644 --- a/dali/public-api/events/touch-event.h +++ b/dali/public-api/events/touch-event.h @@ -85,7 +85,7 @@ public: * @SINCE_1_9.28 * @param[in] other The TouchEvent to move */ - TouchEvent(TouchEvent&& other); + TouchEvent(TouchEvent&& other) noexcept; /** * @brief Destructor. @@ -112,7 +112,7 @@ public: * @param[in] other The TouchEvent to move * @return A reference to this */ - TouchEvent& operator=(TouchEvent&& other); + TouchEvent& operator=(TouchEvent&& other) noexcept; // Getters diff --git a/dali/public-api/events/wheel-event.cpp b/dali/public-api/events/wheel-event.cpp index 95436f5..577adb4 100644 --- a/dali/public-api/events/wheel-event.cpp +++ b/dali/public-api/events/wheel-event.cpp @@ -30,13 +30,13 @@ WheelEvent::WheelEvent() WheelEvent::WheelEvent(const WheelEvent& rhs) = default; -WheelEvent::WheelEvent(WheelEvent&& rhs) = default; +WheelEvent::WheelEvent(WheelEvent&& rhs) noexcept = default; WheelEvent::~WheelEvent() = default; WheelEvent& WheelEvent::operator=(const WheelEvent& rhs) = default; -WheelEvent& WheelEvent::operator=(WheelEvent&& rhs) = default; +WheelEvent& WheelEvent::operator=(WheelEvent&& rhs) noexcept = default; bool WheelEvent::IsShiftModifier() const { diff --git a/dali/public-api/events/wheel-event.h b/dali/public-api/events/wheel-event.h index 0737770..b1da5c0 100644 --- a/dali/public-api/events/wheel-event.h +++ b/dali/public-api/events/wheel-event.h @@ -88,7 +88,7 @@ public: * @SINCE_1_9.26 * @param[in] rhs A reference to the moved WheelEvent */ - WheelEvent(WheelEvent&& rhs); + WheelEvent(WheelEvent&& rhs) noexcept; /** * @brief Destructor. @@ -112,7 +112,7 @@ public: * @param[in] rhs A reference to the moved WheelEvent * @return A reference to this */ - WheelEvent& operator=(WheelEvent&& rhs); + WheelEvent& operator=(WheelEvent&& rhs) noexcept; /** * @brief Checks to see if Shift key modifier has been supplied. diff --git a/dali/public-api/images/pixel-data.cpp b/dali/public-api/images/pixel-data.cpp index c05363a..e69ccf4 100644 --- a/dali/public-api/images/pixel-data.cpp +++ b/dali/public-api/images/pixel-data.cpp @@ -59,9 +59,9 @@ PixelData::PixelData(const PixelData& handle) = default; PixelData& PixelData::operator=(const PixelData& rhs) = default; -PixelData::PixelData(PixelData&& rhs) = default; +PixelData::PixelData(PixelData&& rhs) noexcept = default; -PixelData& PixelData::operator=(PixelData&& rhs) = default; +PixelData& PixelData::operator=(PixelData&& rhs) noexcept = default; uint32_t PixelData::GetWidth() const { diff --git a/dali/public-api/images/pixel-data.h b/dali/public-api/images/pixel-data.h index 70e80da..0fb96db 100644 --- a/dali/public-api/images/pixel-data.h +++ b/dali/public-api/images/pixel-data.h @@ -134,7 +134,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - PixelData(PixelData&& rhs); + PixelData(PixelData&& rhs) noexcept; /** * @brief Move assignment operator. @@ -143,7 +143,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - PixelData& operator=(PixelData&& rhs); + PixelData& operator=(PixelData&& rhs) noexcept; /** * @brief Gets the width of the buffer in pixels. diff --git a/dali/public-api/math/angle-axis.h b/dali/public-api/math/angle-axis.h index 3582d78..721e7a7 100644 --- a/dali/public-api/math/angle-axis.h +++ b/dali/public-api/math/angle-axis.h @@ -69,9 +69,9 @@ struct AngleAxis public: AngleAxis(const AngleAxis&) = default; ///< Default copy constructor - AngleAxis(AngleAxis&&) = default; ///< Default move constructor + AngleAxis(AngleAxis&&) noexcept = default; ///< Default move constructor AngleAxis& operator=(const AngleAxis&) = default; ///< Default copy assignment operator - AngleAxis& operator=(AngleAxis&&) = default; ///< Default move assignment operator + AngleAxis& operator=(AngleAxis&&) noexcept = default; ///< Default move assignment operator public: Radian angle; ///< The angle in radians diff --git a/dali/public-api/object/handle.cpp b/dali/public-api/object/handle.cpp index 002b7be..45f8fcd 100644 --- a/dali/public-api/object/handle.cpp +++ b/dali/public-api/object/handle.cpp @@ -46,9 +46,9 @@ Handle::Handle(const Handle& handle) = default; Handle& Handle::operator=(const Handle& rhs) = default; -Handle::Handle(Handle&& rhs) = default; +Handle::Handle(Handle&& rhs) noexcept = default; -Handle& Handle::operator=(Handle&& rhs) = default; +Handle& Handle::operator=(Handle&& rhs) noexcept = default; Handle Handle::DownCast(BaseHandle handle) { diff --git a/dali/public-api/object/handle.h b/dali/public-api/object/handle.h index 549d274..1e4130a 100644 --- a/dali/public-api/object/handle.h +++ b/dali/public-api/object/handle.h @@ -156,7 +156,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - Handle(Handle&& rhs); + Handle(Handle&& rhs) noexcept; /** * @brief Move assignment operator. @@ -165,7 +165,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - Handle& operator=(Handle&& rhs); + Handle& operator=(Handle&& rhs) noexcept; /** * @brief Downcasts to a handle. diff --git a/dali/public-api/object/object-registry.cpp b/dali/public-api/object/object-registry.cpp index b7f9a37..3af5d5b 100644 --- a/dali/public-api/object/object-registry.cpp +++ b/dali/public-api/object/object-registry.cpp @@ -31,9 +31,9 @@ ObjectRegistry::ObjectRegistry(const ObjectRegistry& copy) = default; ObjectRegistry& ObjectRegistry::operator=(const ObjectRegistry& rhs) = default; -ObjectRegistry::ObjectRegistry(ObjectRegistry&& rhs) = default; +ObjectRegistry::ObjectRegistry(ObjectRegistry&& rhs) noexcept = default; -ObjectRegistry& ObjectRegistry::operator=(ObjectRegistry&& rhs) = default; +ObjectRegistry& ObjectRegistry::operator=(ObjectRegistry&& rhs) noexcept = default; ObjectRegistry::ObjectCreatedSignalType& ObjectRegistry::ObjectCreatedSignal() { diff --git a/dali/public-api/object/object-registry.h b/dali/public-api/object/object-registry.h index 4c789be..15a84d9 100644 --- a/dali/public-api/object/object-registry.h +++ b/dali/public-api/object/object-registry.h @@ -113,7 +113,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - ObjectRegistry(ObjectRegistry&& rhs); + ObjectRegistry(ObjectRegistry&& rhs) noexcept; /** * @brief Move assignment operator. @@ -122,7 +122,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - ObjectRegistry& operator=(ObjectRegistry&& rhs); + ObjectRegistry& operator=(ObjectRegistry&& rhs) noexcept; public: // Signals /** diff --git a/dali/public-api/object/property-conditions.cpp b/dali/public-api/object/property-conditions.cpp index 9929d6e..bdfbbf9 100644 --- a/dali/public-api/object/property-conditions.cpp +++ b/dali/public-api/object/property-conditions.cpp @@ -35,9 +35,9 @@ PropertyCondition::PropertyCondition(const PropertyCondition& handle) = default; PropertyCondition& PropertyCondition::operator=(const PropertyCondition& rhs) = default; -PropertyCondition::PropertyCondition(PropertyCondition&& rhs) = default; +PropertyCondition::PropertyCondition(PropertyCondition&& rhs) noexcept = default; -PropertyCondition& PropertyCondition::operator=(PropertyCondition&& rhs) = default; +PropertyCondition& PropertyCondition::operator=(PropertyCondition&& rhs) noexcept = default; std::size_t PropertyCondition::GetArgumentCount() const { diff --git a/dali/public-api/object/property-conditions.h b/dali/public-api/object/property-conditions.h index 36a0df3..a3f39e9 100644 --- a/dali/public-api/object/property-conditions.h +++ b/dali/public-api/object/property-conditions.h @@ -77,7 +77,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - PropertyCondition(PropertyCondition&& rhs); + PropertyCondition(PropertyCondition&& rhs) noexcept; /** * @brief Move assignment operator. @@ -86,7 +86,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - PropertyCondition& operator=(PropertyCondition&& rhs); + PropertyCondition& operator=(PropertyCondition&& rhs) noexcept; public: /** diff --git a/dali/public-api/object/property-notification.cpp b/dali/public-api/object/property-notification.cpp index 6f9e26f..a0b5cab 100644 --- a/dali/public-api/object/property-notification.cpp +++ b/dali/public-api/object/property-notification.cpp @@ -47,9 +47,9 @@ PropertyNotification::PropertyNotification(const PropertyNotification& copy) = d PropertyNotification& PropertyNotification::operator=(const PropertyNotification& rhs) = default; -PropertyNotification::PropertyNotification(PropertyNotification&& rhs) = default; +PropertyNotification::PropertyNotification(PropertyNotification&& rhs) noexcept = default; -PropertyNotification& PropertyNotification::operator=(PropertyNotification&& rhs) = default; +PropertyNotification& PropertyNotification::operator=(PropertyNotification&& rhs) noexcept = default; PropertyCondition PropertyNotification::GetCondition() { diff --git a/dali/public-api/object/property-notification.h b/dali/public-api/object/property-notification.h index 01f14e0..7772336 100644 --- a/dali/public-api/object/property-notification.h +++ b/dali/public-api/object/property-notification.h @@ -111,7 +111,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - PropertyNotification(PropertyNotification&& rhs); + PropertyNotification(PropertyNotification&& rhs) noexcept; /** * @brief Move assignment operator. @@ -120,7 +120,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - PropertyNotification& operator=(PropertyNotification&& rhs); + PropertyNotification& operator=(PropertyNotification&& rhs) noexcept; /** * @brief Gets the condition of this notification. diff --git a/dali/public-api/object/type-info.cpp b/dali/public-api/object/type-info.cpp index 9d5c3cb..6fb2e42 100644 --- a/dali/public-api/object/type-info.cpp +++ b/dali/public-api/object/type-info.cpp @@ -33,9 +33,9 @@ TypeInfo::TypeInfo(const TypeInfo& copy) = default; TypeInfo& TypeInfo::operator=(const TypeInfo& rhs) = default; -TypeInfo::TypeInfo(TypeInfo&& rhs) = default; +TypeInfo::TypeInfo(TypeInfo&& rhs) noexcept = default; -TypeInfo& TypeInfo::operator=(TypeInfo&& rhs) = default; +TypeInfo& TypeInfo::operator=(TypeInfo&& rhs) noexcept = default; const std::string& TypeInfo::GetName() const { diff --git a/dali/public-api/object/type-info.h b/dali/public-api/object/type-info.h index b278c82..9ecabfd 100644 --- a/dali/public-api/object/type-info.h +++ b/dali/public-api/object/type-info.h @@ -126,7 +126,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - TypeInfo(TypeInfo&& rhs); + TypeInfo(TypeInfo&& rhs) noexcept; /** * @brief Move assignment operator. @@ -135,7 +135,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - TypeInfo& operator=(TypeInfo&& rhs); + TypeInfo& operator=(TypeInfo&& rhs) noexcept; /** * @brief Retrieves the type name for this type. diff --git a/dali/public-api/object/type-registry.cpp b/dali/public-api/object/type-registry.cpp index 31d7ad3..2b69d9d 100644 --- a/dali/public-api/object/type-registry.cpp +++ b/dali/public-api/object/type-registry.cpp @@ -35,9 +35,9 @@ TypeRegistry::TypeRegistry(const TypeRegistry& copy) = default; TypeRegistry& TypeRegistry::operator=(const TypeRegistry& rhs) = default; -TypeRegistry::TypeRegistry(TypeRegistry&& rhs) = default; +TypeRegistry::TypeRegistry(TypeRegistry&& rhs) noexcept = default; -TypeRegistry& TypeRegistry::operator=(TypeRegistry&& rhs) = default; +TypeRegistry& TypeRegistry::operator=(TypeRegistry&& rhs) noexcept = default; TypeRegistry TypeRegistry::Get() { diff --git a/dali/public-api/object/type-registry.h b/dali/public-api/object/type-registry.h index e692423..7eddbe2 100644 --- a/dali/public-api/object/type-registry.h +++ b/dali/public-api/object/type-registry.h @@ -140,7 +140,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - TypeRegistry(TypeRegistry&& rhs); + TypeRegistry(TypeRegistry&& rhs) noexcept; /** * @brief Move assignment operator. @@ -149,7 +149,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - TypeRegistry& operator=(TypeRegistry&& rhs); + TypeRegistry& operator=(TypeRegistry&& rhs) noexcept; /** * @brief Gets TypeInfo for a registered type. diff --git a/dali/public-api/object/weak-handle.cpp b/dali/public-api/object/weak-handle.cpp index 3a8ff33..4f5a3f1 100644 --- a/dali/public-api/object/weak-handle.cpp +++ b/dali/public-api/object/weak-handle.cpp @@ -108,13 +108,13 @@ WeakHandleBase& WeakHandleBase::operator=(const WeakHandleBase& rhs) return *this; } -WeakHandleBase::WeakHandleBase(WeakHandleBase&& rhs) +WeakHandleBase::WeakHandleBase(WeakHandleBase&& rhs) noexcept : mImpl(rhs.mImpl) { rhs.mImpl = nullptr; } -WeakHandleBase& WeakHandleBase::operator=(WeakHandleBase&& rhs) +WeakHandleBase& WeakHandleBase::operator=(WeakHandleBase&& rhs) noexcept { if(this != &rhs) { diff --git a/dali/public-api/object/weak-handle.h b/dali/public-api/object/weak-handle.h index b3a8aa7..b64e82c 100644 --- a/dali/public-api/object/weak-handle.h +++ b/dali/public-api/object/weak-handle.h @@ -84,7 +84,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - WeakHandleBase(WeakHandleBase&& rhs); + WeakHandleBase(WeakHandleBase&& rhs) noexcept; /** * @brief Move assignment operator. @@ -93,7 +93,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - WeakHandleBase& operator=(WeakHandleBase&& rhs); + WeakHandleBase& operator=(WeakHandleBase&& rhs) noexcept; /** * @brief Equality operator overload. diff --git a/dali/public-api/render-tasks/render-task-list.cpp b/dali/public-api/render-tasks/render-task-list.cpp index 941c6e7..ae2f9cf 100644 --- a/dali/public-api/render-tasks/render-task-list.cpp +++ b/dali/public-api/render-tasks/render-task-list.cpp @@ -36,9 +36,9 @@ RenderTaskList::RenderTaskList(const RenderTaskList& handle) = default; RenderTaskList& RenderTaskList::operator=(const RenderTaskList& rhs) = default; -RenderTaskList::RenderTaskList(RenderTaskList&& rhs) = default; +RenderTaskList::RenderTaskList(RenderTaskList&& rhs) noexcept = default; -RenderTaskList& RenderTaskList::operator=(RenderTaskList&& rhs) = default; +RenderTaskList& RenderTaskList::operator=(RenderTaskList&& rhs) noexcept = default; RenderTask RenderTaskList::CreateTask() { diff --git a/dali/public-api/render-tasks/render-task-list.h b/dali/public-api/render-tasks/render-task-list.h index 0de427c..afbab77 100644 --- a/dali/public-api/render-tasks/render-task-list.h +++ b/dali/public-api/render-tasks/render-task-list.h @@ -98,7 +98,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - RenderTaskList(RenderTaskList&& rhs); + RenderTaskList(RenderTaskList&& rhs) noexcept; /** * @brief Move assignment operator. @@ -107,7 +107,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - RenderTaskList& operator=(RenderTaskList&& rhs); + RenderTaskList& operator=(RenderTaskList&& rhs) noexcept; /** * @brief Creates a new RenderTask. diff --git a/dali/public-api/render-tasks/render-task.cpp b/dali/public-api/render-tasks/render-task.cpp index e59bd82..cd621e4 100644 --- a/dali/public-api/render-tasks/render-task.cpp +++ b/dali/public-api/render-tasks/render-task.cpp @@ -61,9 +61,9 @@ RenderTask::RenderTask(const RenderTask& handle) = default; RenderTask& RenderTask::operator=(const RenderTask& rhs) = default; -RenderTask::RenderTask(RenderTask&& rhs) = default; +RenderTask::RenderTask(RenderTask&& rhs) noexcept = default; -RenderTask& RenderTask::operator=(RenderTask&& rhs) = default; +RenderTask& RenderTask::operator=(RenderTask&& rhs) noexcept = default; void RenderTask::SetSourceActor(Actor actor) { diff --git a/dali/public-api/render-tasks/render-task.h b/dali/public-api/render-tasks/render-task.h index 0832c4b..683a97e 100644 --- a/dali/public-api/render-tasks/render-task.h +++ b/dali/public-api/render-tasks/render-task.h @@ -230,7 +230,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - RenderTask(RenderTask&& rhs); + RenderTask(RenderTask&& rhs) noexcept; /** * @brief Move assignment operator. @@ -239,7 +239,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this */ - RenderTask& operator=(RenderTask&& rhs); + RenderTask& operator=(RenderTask&& rhs) noexcept; /** * @brief Sets the actors to be rendered. diff --git a/dali/public-api/rendering/decorated-visual-renderer.cpp b/dali/public-api/rendering/decorated-visual-renderer.cpp index debf485..3e85463 100644 --- a/dali/public-api/rendering/decorated-visual-renderer.cpp +++ b/dali/public-api/rendering/decorated-visual-renderer.cpp @@ -44,9 +44,9 @@ DecoratedVisualRenderer DecoratedVisualRenderer::DownCast(BaseHandle handle) DecoratedVisualRenderer& DecoratedVisualRenderer::operator=(const DecoratedVisualRenderer& handle) = default; -DecoratedVisualRenderer::DecoratedVisualRenderer(DecoratedVisualRenderer&& rhs) = default; +DecoratedVisualRenderer::DecoratedVisualRenderer(DecoratedVisualRenderer&& rhs) noexcept = default; -DecoratedVisualRenderer& DecoratedVisualRenderer::operator=(DecoratedVisualRenderer&& rhs) = default; +DecoratedVisualRenderer& DecoratedVisualRenderer::operator=(DecoratedVisualRenderer&& rhs) noexcept = default; void DecoratedVisualRenderer::RegisterCornerRadiusUniform() { diff --git a/dali/public-api/rendering/decorated-visual-renderer.h b/dali/public-api/rendering/decorated-visual-renderer.h index 80563a2..0595829 100644 --- a/dali/public-api/rendering/decorated-visual-renderer.h +++ b/dali/public-api/rendering/decorated-visual-renderer.h @@ -201,7 +201,7 @@ public: * @SINCE_2_1.21 * @param[in] rhs A reference to the moved handle */ - DecoratedVisualRenderer(DecoratedVisualRenderer&& rhs); + DecoratedVisualRenderer(DecoratedVisualRenderer&& rhs) noexcept; /** * @brief Move assignment operator. @@ -210,7 +210,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - DecoratedVisualRenderer& operator=(DecoratedVisualRenderer&& rhs); + DecoratedVisualRenderer& operator=(DecoratedVisualRenderer&& rhs) noexcept; public: /// @cond internal diff --git a/dali/public-api/rendering/frame-buffer.cpp b/dali/public-api/rendering/frame-buffer.cpp index 4b45a92..311d66a 100644 --- a/dali/public-api/rendering/frame-buffer.cpp +++ b/dali/public-api/rendering/frame-buffer.cpp @@ -74,9 +74,9 @@ FrameBuffer::FrameBuffer(Internal::FrameBuffer* pointer) { } -FrameBuffer::FrameBuffer(FrameBuffer&& rhs) = default; +FrameBuffer::FrameBuffer(FrameBuffer&& rhs) noexcept = default; -FrameBuffer& FrameBuffer::operator=(FrameBuffer&& rhs) = default; +FrameBuffer& FrameBuffer::operator=(FrameBuffer&& rhs) noexcept = default; void FrameBuffer::AttachColorTexture(Texture& texture) { diff --git a/dali/public-api/rendering/frame-buffer.h b/dali/public-api/rendering/frame-buffer.h index 9954182..85923d0 100644 --- a/dali/public-api/rendering/frame-buffer.h +++ b/dali/public-api/rendering/frame-buffer.h @@ -138,7 +138,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - FrameBuffer(FrameBuffer&& rhs); + FrameBuffer(FrameBuffer&& rhs) noexcept; /** * @brief Move assignment operator. @@ -147,7 +147,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - FrameBuffer& operator=(FrameBuffer&& rhs); + FrameBuffer& operator=(FrameBuffer&& rhs) noexcept; /** * @brief Attach the base LOD of a 2D texture to the framebuffer for color rendering. diff --git a/dali/public-api/rendering/geometry.cpp b/dali/public-api/rendering/geometry.cpp index a810779..1316497 100644 --- a/dali/public-api/rendering/geometry.cpp +++ b/dali/public-api/rendering/geometry.cpp @@ -42,9 +42,9 @@ Geometry Geometry::DownCast(BaseHandle handle) Geometry& Geometry::operator=(const Geometry& handle) = default; -Geometry::Geometry(Geometry&& rhs) = default; +Geometry::Geometry(Geometry&& rhs) noexcept = default; -Geometry& Geometry::operator=(Geometry&& rhs) = default; +Geometry& Geometry::operator=(Geometry&& rhs) noexcept = default; std::size_t Geometry::AddVertexBuffer(VertexBuffer& vertexBuffer) { diff --git a/dali/public-api/rendering/geometry.h b/dali/public-api/rendering/geometry.h index 81e0421..3ff19a3 100644 --- a/dali/public-api/rendering/geometry.h +++ b/dali/public-api/rendering/geometry.h @@ -117,7 +117,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - Geometry(Geometry&& rhs); + Geometry(Geometry&& rhs) noexcept; /** * @brief Move assignment operator. @@ -126,7 +126,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - Geometry& operator=(Geometry&& rhs); + Geometry& operator=(Geometry&& rhs) noexcept; /** * @brief Adds a VertexBuffer to be used as source of geometry vertices. diff --git a/dali/public-api/rendering/renderer.cpp b/dali/public-api/rendering/renderer.cpp index 326b54b..90cb94e 100644 --- a/dali/public-api/rendering/renderer.cpp +++ b/dali/public-api/rendering/renderer.cpp @@ -51,9 +51,9 @@ Renderer Renderer::DownCast(BaseHandle handle) Renderer& Renderer::operator=(const Renderer& handle) = default; -Renderer::Renderer(Renderer&& rhs) = default; +Renderer::Renderer(Renderer&& rhs) noexcept = default; -Renderer& Renderer::operator=(Renderer&& rhs) = default; +Renderer& Renderer::operator=(Renderer&& rhs) noexcept = default; void Renderer::SetGeometry(Geometry& geometry) { diff --git a/dali/public-api/rendering/renderer.h b/dali/public-api/rendering/renderer.h index e6f1afe..3dfd9ea 100644 --- a/dali/public-api/rendering/renderer.h +++ b/dali/public-api/rendering/renderer.h @@ -484,7 +484,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - Renderer(Renderer&& rhs); + Renderer(Renderer&& rhs) noexcept; /** * @brief Move assignment operator. @@ -493,7 +493,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - Renderer& operator=(Renderer&& rhs); + Renderer& operator=(Renderer&& rhs) noexcept; /** * @brief Sets the geometry to be used by this renderer. diff --git a/dali/public-api/rendering/sampler.cpp b/dali/public-api/rendering/sampler.cpp index 990e2ee..e9a065e 100644 --- a/dali/public-api/rendering/sampler.cpp +++ b/dali/public-api/rendering/sampler.cpp @@ -42,9 +42,9 @@ Sampler Sampler::DownCast(BaseHandle handle) Sampler& Sampler::operator=(const Sampler& handle) = default; -Sampler::Sampler(Sampler&& rhs) = default; +Sampler::Sampler(Sampler&& rhs) noexcept = default; -Sampler& Sampler::operator=(Sampler&& rhs) = default; +Sampler& Sampler::operator=(Sampler&& rhs) noexcept = default; void Sampler::SetFilterMode(FilterMode::Type minFilter, FilterMode::Type magFilter) { diff --git a/dali/public-api/rendering/sampler.h b/dali/public-api/rendering/sampler.h index aeabcf3..dacde4e 100644 --- a/dali/public-api/rendering/sampler.h +++ b/dali/public-api/rendering/sampler.h @@ -97,7 +97,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - Sampler(Sampler&& rhs); + Sampler(Sampler&& rhs) noexcept; /** * @brief Move assignment operator. @@ -106,7 +106,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - Sampler& operator=(Sampler&& rhs); + Sampler& operator=(Sampler&& rhs) noexcept; /** * @brief Sets the filter modes for this sampler. diff --git a/dali/public-api/rendering/shader.cpp b/dali/public-api/rendering/shader.cpp index 7456d9e..bedf275 100644 --- a/dali/public-api/rendering/shader.cpp +++ b/dali/public-api/rendering/shader.cpp @@ -44,9 +44,9 @@ Shader Shader::DownCast(BaseHandle handle) Shader& Shader::operator=(const Shader& handle) = default; -Shader::Shader(Shader&& rhs) = default; +Shader::Shader(Shader&& rhs) noexcept = default; -Shader& Shader::operator=(Shader&& rhs) = default; +Shader& Shader::operator=(Shader&& rhs) noexcept = default; Shader::Shader(Internal::Shader* pointer) : Handle(pointer) diff --git a/dali/public-api/rendering/shader.h b/dali/public-api/rendering/shader.h index 19e138d..9c726af 100644 --- a/dali/public-api/rendering/shader.h +++ b/dali/public-api/rendering/shader.h @@ -176,7 +176,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - Shader(Shader&& rhs); + Shader(Shader&& rhs) noexcept; /** * @brief Move assignment operator. @@ -185,7 +185,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this */ - Shader& operator=(Shader&& rhs); + Shader& operator=(Shader&& rhs) noexcept; /** * @brief Get shader preprocessor of shading language version. diff --git a/dali/public-api/rendering/texture-set.cpp b/dali/public-api/rendering/texture-set.cpp index b59d0bc..c045862 100644 --- a/dali/public-api/rendering/texture-set.cpp +++ b/dali/public-api/rendering/texture-set.cpp @@ -44,9 +44,9 @@ TextureSet TextureSet::DownCast(BaseHandle handle) TextureSet& TextureSet::operator=(const TextureSet& handle) = default; -TextureSet::TextureSet(TextureSet&& rhs) = default; +TextureSet::TextureSet(TextureSet&& rhs) noexcept = default; -TextureSet& TextureSet::operator=(TextureSet&& rhs) = default; +TextureSet& TextureSet::operator=(TextureSet&& rhs) noexcept = default; void TextureSet::SetTexture(size_t index, Texture texture) { diff --git a/dali/public-api/rendering/texture-set.h b/dali/public-api/rendering/texture-set.h index f1525e6..d53dc58 100644 --- a/dali/public-api/rendering/texture-set.h +++ b/dali/public-api/rendering/texture-set.h @@ -101,7 +101,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - TextureSet(TextureSet&& rhs); + TextureSet(TextureSet&& rhs) noexcept; /** * @brief Move assignment operator. @@ -110,7 +110,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - TextureSet& operator=(TextureSet&& rhs); + TextureSet& operator=(TextureSet&& rhs) noexcept; /** * @brief Sets the texture at position "index". diff --git a/dali/public-api/rendering/texture.cpp b/dali/public-api/rendering/texture.cpp index a8925c7..2f62053 100644 --- a/dali/public-api/rendering/texture.cpp +++ b/dali/public-api/rendering/texture.cpp @@ -49,9 +49,9 @@ Texture Texture::DownCast(BaseHandle handle) Texture& Texture::operator=(const Texture& handle) = default; -Texture::Texture(Texture&& rhs) = default; +Texture::Texture(Texture&& rhs) noexcept = default; -Texture& Texture::operator=(Texture&& rhs) = default; +Texture& Texture::operator=(Texture&& rhs) noexcept = default; bool Texture::Upload(PixelData pixelData) { diff --git a/dali/public-api/rendering/texture.h b/dali/public-api/rendering/texture.h index 59e14ce..9819677 100644 --- a/dali/public-api/rendering/texture.h +++ b/dali/public-api/rendering/texture.h @@ -143,7 +143,7 @@ public: * @SINCE_1_9.22 * @param[in] rhs A reference to the moved handle */ - Texture(Texture&& rhs); + Texture(Texture&& rhs) noexcept; /** * @brief Move assignment operator. @@ -152,7 +152,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - Texture& operator=(Texture&& rhs); + Texture& operator=(Texture&& rhs) noexcept; /** * @brief Uploads data to the texture from a PixelData object. diff --git a/dali/public-api/rendering/vertex-buffer.cpp b/dali/public-api/rendering/vertex-buffer.cpp index 4adb49b..c2351c4 100644 --- a/dali/public-api/rendering/vertex-buffer.cpp +++ b/dali/public-api/rendering/vertex-buffer.cpp @@ -44,9 +44,9 @@ VertexBuffer VertexBuffer::DownCast(BaseHandle handle) VertexBuffer& VertexBuffer::operator=(const VertexBuffer& handle) = default; -VertexBuffer::VertexBuffer(VertexBuffer&& rhs) = default; +VertexBuffer::VertexBuffer(VertexBuffer&& rhs) noexcept = default; -VertexBuffer& VertexBuffer::operator=(VertexBuffer&& rhs) = default; +VertexBuffer& VertexBuffer::operator=(VertexBuffer&& rhs) noexcept = default; void VertexBuffer::SetData(const void* data, std::size_t size) { diff --git a/dali/public-api/rendering/vertex-buffer.h b/dali/public-api/rendering/vertex-buffer.h index 5c25bec..6c80284 100644 --- a/dali/public-api/rendering/vertex-buffer.h +++ b/dali/public-api/rendering/vertex-buffer.h @@ -128,7 +128,7 @@ public: * @SINCE_1_9.27 * @param[in] rhs A reference to the moved handle */ - VertexBuffer(VertexBuffer&& rhs); + VertexBuffer(VertexBuffer&& rhs) noexcept; /** * @brief Move assignment operator. @@ -137,7 +137,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - VertexBuffer& operator=(VertexBuffer&& rhs); + VertexBuffer& operator=(VertexBuffer&& rhs) noexcept; /** * @brief Updates the whole buffer information. diff --git a/dali/public-api/rendering/visual-renderer.cpp b/dali/public-api/rendering/visual-renderer.cpp index 224efd0..96db442 100644 --- a/dali/public-api/rendering/visual-renderer.cpp +++ b/dali/public-api/rendering/visual-renderer.cpp @@ -44,9 +44,9 @@ VisualRenderer VisualRenderer::DownCast(BaseHandle handle) VisualRenderer& VisualRenderer::operator=(const VisualRenderer& handle) = default; -VisualRenderer::VisualRenderer(VisualRenderer&& rhs) = default; +VisualRenderer::VisualRenderer(VisualRenderer&& rhs) noexcept = default; -VisualRenderer& VisualRenderer::operator=(VisualRenderer&& rhs) = default; +VisualRenderer& VisualRenderer::operator=(VisualRenderer&& rhs) noexcept = default; VisualRenderer::VisualRenderer(Internal::VisualRenderer* pointer) : Dali::Renderer(pointer) diff --git a/dali/public-api/rendering/visual-renderer.h b/dali/public-api/rendering/visual-renderer.h index 844d480..5924aab 100644 --- a/dali/public-api/rendering/visual-renderer.h +++ b/dali/public-api/rendering/visual-renderer.h @@ -204,7 +204,7 @@ public: * @SINCE_2_1.13 * @param[in] rhs A reference to the moved handle */ - VisualRenderer(VisualRenderer&& rhs); + VisualRenderer(VisualRenderer&& rhs) noexcept; /** * @brief Move assignment operator. @@ -213,7 +213,7 @@ public: * @param[in] rhs A reference to the moved handle * @return A reference to this handle */ - VisualRenderer& operator=(VisualRenderer&& rhs); + VisualRenderer& operator=(VisualRenderer&& rhs) noexcept; public: /// @cond internal -- 2.7.4