X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-selection-toolbar.cpp;h=deb9fe33030dfae733450c4507abc304ec4e866e;hb=HEAD;hp=64515fc7caa8959646f889ffb487e46faa5e2671;hpb=5359a575636e678baf178dab5209b587be1a7551;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.cpp b/dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.cpp index 64515fc..deb9fe3 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.cpp +++ b/dali-toolkit/devel-api/controls/text-controls/text-selection-toolbar.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 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 @@ TextSelectionToolbar::TextSelectionToolbar() { } -TextSelectionToolbar::TextSelectionToolbar(const TextSelectionToolbar& handle) -: Control(handle) -{ -} +TextSelectionToolbar::TextSelectionToolbar(const TextSelectionToolbar& handle) = default; -TextSelectionToolbar& TextSelectionToolbar::operator=(const TextSelectionToolbar& handle) -{ - if(&handle != this) - { - Control::operator=(handle); - } - return *this; -} +TextSelectionToolbar& TextSelectionToolbar::operator=(const TextSelectionToolbar& handle) = default; + +TextSelectionToolbar::TextSelectionToolbar(TextSelectionToolbar&& handle) = default; + +TextSelectionToolbar& TextSelectionToolbar::operator=(TextSelectionToolbar&& handle) = default; TextSelectionToolbar::~TextSelectionToolbar() {