Renaming of enum values for coding standards compliance.
[platform/core/uifw/dali-core.git] / dali / public-api / animation / constraint.cpp
index 6ef76f7..8c2648d 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.
@@ -38,7 +38,7 @@ Internal::PropertyConstraint< P >* CreatePropertyConstraint( CallbackBase* func
 
 } // unnamed namespace
 
-const Constraint::RemoveAction Constraint::DEFAULT_REMOVE_ACTION  = Constraint::Bake;
+const Constraint::RemoveAction Constraint::DEFAULT_REMOVE_ACTION = Constraint::BAKE;
 
 Constraint::Constraint()
 {
@@ -53,16 +53,13 @@ Constraint::~Constraint()
 {
 }
 
-Constraint::Constraint( const Constraint& constraint )
-: BaseHandle( constraint )
-{
-}
+Constraint::Constraint( const Constraint& constraint ) = default;
 
-Constraint& Constraint::operator=( const Constraint& rhs )
-{
-  BaseHandle::operator=( rhs );
-  return *this;
-}
+Constraint& Constraint::operator=( const Constraint& rhs ) = default;
+
+Constraint::Constraint( Constraint&& rhs ) = default;
+
+Constraint& Constraint::operator=( Constraint&& rhs ) = default;
 
 Constraint Constraint::DownCast( BaseHandle baseHandle )
 {