lottie: portability++

issue: https://github.com/lvgl/lvgl/issues/7214
This commit is contained in:
Hermet Park 2024-11-21 12:00:41 +09:00
parent f05ee1ca63
commit 3d4df8df41

View file

@ -630,7 +630,7 @@ struct LottieColorStop : LottieProperty
const_cast<LottieColorStop&>(rhs).frames = nullptr; const_cast<LottieColorStop&>(rhs).frames = nullptr;
} else { } else {
value = rhs.value; value = rhs.value;
const_cast<LottieColorStop&>(rhs).value = {nullptr, nullptr}; const_cast<LottieColorStop&>(rhs).value = ColorStop();
} }
populated = rhs.populated; populated = rhs.populated;
count = rhs.count; count = rhs.count;