X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fscrollable%2Fscrollable.cpp;h=38022397c44c8bb2cbd4f8d91d005ebc2077db21;hp=9e1c66f037ee31c9992eb6556c33b8f6c32b73b6;hb=d886d0a7b8637b2ad52844096091b63991157ff3;hpb=6450bfaff9367ce929f3c7769be7fcd365be550f diff --git a/dali-toolkit/public-api/controls/scrollable/scrollable.cpp b/dali-toolkit/public-api/controls/scrollable/scrollable.cpp index 9e1c66f..3802239 100644 --- a/dali-toolkit/public-api/controls/scrollable/scrollable.cpp +++ b/dali-toolkit/public-api/controls/scrollable/scrollable.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 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. @@ -41,19 +41,13 @@ Scrollable::Scrollable( Dali::Internal::CustomActor* internal ) VerifyCustomActorPointer(internal); } -Scrollable::Scrollable( const Scrollable& handle ) -: Control( handle ) -{ -} +Scrollable::Scrollable( const Scrollable& handle ) = default; -Scrollable& Scrollable::operator=( const Scrollable& handle ) -{ - if( &handle != this ) - { - Control::operator=( handle ); - } - return *this; -} +Scrollable::Scrollable( Scrollable&& rhs ) = default; + +Scrollable& Scrollable::operator=( const Scrollable& handle ) = default; + +Scrollable& Scrollable::operator=( Scrollable&& rhs ) = default; Scrollable::~Scrollable() {