[dali_1.9.23] Merge branch 'devel/master'
[platform/core/uifw/dali-core.git] / dali / public-api / animation / path.cpp
index 3dda29c..4b868bd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
@@ -43,21 +43,18 @@ Path::~Path()
 {
 }
 
-Path::Path(const Path& handle)
-:Handle(handle)
-{
-}
+Path::Path(const Path& handle) = default;
 
 Path::Path(Internal::Path* internal)
 : Handle(internal)
 {
 }
 
-Path& Path::operator=(const Path& rhs)
-{
-  BaseHandle::operator=(rhs);
-  return *this;
-}
+Path& Path::operator=(const Path& rhs) = default;
+
+Path::Path( Path&& rhs ) = default;
+
+Path& Path::operator=( Path&& rhs ) = default;
 
 void Path::AddPoint(const Vector3& point )
 {