projects
/
platform
/
core
/
uifw
/
lottie-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d19359f
)
lottie: avoid extra copy by using std::move
48/188248/1
author
subhransu mohanty
<sub.mohanty@samsung.com>
Mon, 3 Sep 2018 09:27:12 +0000
(18:27 +0900)
committer
subhransu mohanty
<sub.mohanty@samsung.com>
Mon, 3 Sep 2018 09:27:12 +0000
(18:27 +0900)
Change-Id: Iaa61ee36a87e26b2c26676cae4b7cf2e94b595a0
src/vector/vdrawhelper.cpp
patch
|
blob
|
history
diff --git
a/src/vector/vdrawhelper.cpp
b/src/vector/vdrawhelper.cpp
index 315b59b42f630075f84419fbdc62dfb8dfc318a7..ccb116830936dcecf6844a93697e957890d536f0 100644
(file)
--- a/
src/vector/vdrawhelper.cpp
+++ b/
src/vector/vdrawhelper.cpp
@@
-7,7
+7,7
@@
class VGradientCache {
public:
struct CacheInfo : public VSpanData::Pinnable {
- inline CacheInfo(VGradientStops s) : stops(s) {}
+ inline CacheInfo(VGradientStops s) : stops(s
td::move(s)
) {}
uint32_t buffer32[VGradient::colorTableSize];
VGradientStops stops;
bool alpha;