Ensure BaseHandle class move noexcept (core public-api)
[platform/core/uifw/dali-core.git] / dali / public-api / events / rotation-gesture-detector.cpp
index 0f84368..def7165 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -46,11 +46,11 @@ RotationGestureDetector::~RotationGestureDetector() = default;
 
 RotationGestureDetector::RotationGestureDetector(const RotationGestureDetector& handle) = default;
 
-RotationGestureDetector& RotationGestureDetector::operator=(const RotationGestureDetector& rhs)
-{
-  BaseHandle::operator=(rhs);
-  return *this;
-}
+RotationGestureDetector& RotationGestureDetector::operator=(const RotationGestureDetector& rhs) = default;
+
+RotationGestureDetector::RotationGestureDetector(RotationGestureDetector&& handle) noexcept = default;
+
+RotationGestureDetector& RotationGestureDetector::operator=(RotationGestureDetector&& rhs) noexcept = default;
 
 RotationGestureDetector::DetectedSignalType& RotationGestureDetector::DetectedSignal()
 {