projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[dali_2.3.25] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
devel-api
/
controls
/
text-controls
/
text-anchor-devel.cpp
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
(file)
--- 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) 202
1
Samsung Electronics Co., Ltd.
+ * Copyright (c) 202
2
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.
*
* 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()
{
TextAnchor::~TextAnchor()
{