Change copy constructor and copy assignment in common classes to use the default...
[platform/core/uifw/dali-core.git] / dali / public-api / rendering / texture-set.cpp
index fdcb141..ae3440d 100644 (file)
@@ -40,21 +40,14 @@ TextureSet::~TextureSet()
 {
 }
 
-TextureSet::TextureSet( const TextureSet& handle )
-: BaseHandle( handle )
-{
-}
+TextureSet::TextureSet( const TextureSet& handle ) = default;
 
 TextureSet TextureSet::DownCast( BaseHandle handle )
 {
   return TextureSet( dynamic_cast<Dali::Internal::TextureSet*>(handle.GetObjectPtr()));
 }
 
-TextureSet& TextureSet::operator=( const TextureSet& handle )
-{
-  BaseHandle::operator=( handle );
-  return *this;
-}
+TextureSet& TextureSet::operator=( const TextureSet& handle ) = default;
 
 TextureSet::TextureSet( TextureSet&& rhs ) =  default;