X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-anchor-devel.cpp;h=1d4ad5867ee0c9c6eda932aa052d7b219bb7e7ca;hb=HEAD;hp=9b72f8af83fd3dcc34efd99f5cab1d6f09f47937;hpb=70468ae7ba6b75df1db1063e9b3fcf0313ffd787;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/text-controls/text-anchor-devel.cpp b/dali-toolkit/devel-api/controls/text-controls/text-anchor-devel.cpp index 9b72f8a..1d4ad58 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-anchor-devel.cpp +++ b/dali-toolkit/devel-api/controls/text-controls/text-anchor-devel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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. @@ -36,19 +36,13 @@ TextAnchor::TextAnchor() { } -TextAnchor::TextAnchor(const TextAnchor& handle) -: Control(handle) -{ -} +TextAnchor::TextAnchor(const TextAnchor& handle) = default; -TextAnchor& TextAnchor::operator=(const TextAnchor& handle) -{ - if(&handle != this) - { - Control::operator=(handle); - } - return *this; -} +TextAnchor& TextAnchor::operator=(const TextAnchor& handle) = default; + +TextAnchor::TextAnchor(TextAnchor&& handle) = default; + +TextAnchor& TextAnchor::operator=(TextAnchor&& handle) = default; TextAnchor::~TextAnchor() {