X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Ftext-controls%2Ftext-label.cpp;h=39450c7cc04e66c5e9324639b4b20aad7d72e5fe;hp=7a61615bbdeb6008c3b00b77ee7ad62b8b73bde3;hb=4593cc619ab0739fc8586c0c752209c555b0c8e3;hpb=56d412791a44c2a79135d2293c13fddb135c9d54 diff --git a/dali-toolkit/public-api/controls/text-controls/text-label.cpp b/dali-toolkit/public-api/controls/text-controls/text-label.cpp index 7a61615..39450c7 100644 --- a/dali-toolkit/public-api/controls/text-controls/text-label.cpp +++ b/dali-toolkit/public-api/controls/text-controls/text-label.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. @@ -44,19 +44,13 @@ TextLabel::TextLabel() { } -TextLabel::TextLabel( const TextLabel& handle ) -: Control( handle ) -{ -} +TextLabel::TextLabel( const TextLabel& handle ) = default; -TextLabel& TextLabel::operator=( const TextLabel& handle ) -{ - if( &handle != this ) - { - Control::operator=( handle ); - } - return *this; -} +TextLabel::TextLabel( TextLabel&& rhs ) = default; + +TextLabel& TextLabel::operator=( const TextLabel& handle ) = default; + +TextLabel& TextLabel::operator=( TextLabel&& rhs ) = default; TextLabel::~TextLabel() {