Ensure BaseHandle class move noexcept (core public-api)
[platform/core/uifw/dali-core.git] / dali / public-api / animation / path.cpp
index f16b7ba..133ae94 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;
 
@@ -51,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)
 {