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 committed by Hermet Park
parent 877c524e5e
commit 8995bc32a2

View file

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