mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-20 23:27:23 +00:00
Fix build in Xcode.
This commit is contained in:
parent
fbfd3ddd68
commit
78d3bdfe3a
@ -149,7 +149,8 @@ void Animation::parse(const QByteArray &content) {
|
||||
_treeBlueprint = std::make_unique<BMBase>();
|
||||
const auto blueprint = _treeBlueprint.get();
|
||||
const auto layers = root.value(QLatin1String("layers")).toArray();
|
||||
for (const auto &entry : ranges::view::reverse(layers)) {
|
||||
for (auto i = layers.end(); i != layers.begin();) {
|
||||
const auto &entry = *(--i);
|
||||
if (const auto layer = BMLayer::construct(entry.toObject())) {
|
||||
layer->setParent(blueprint);
|
||||
|
||||
|
2
Telegram/ThirdParty/qtlottie
vendored
2
Telegram/ThirdParty/qtlottie
vendored
@ -1 +1 @@
|
||||
Subproject commit 5cf5976b1874cb39aabcedf30b2b26b5dbd407a6
|
||||
Subproject commit f905c3712d56ea29833ac363ffefb3b1f8c341c9
|
Loading…
Reference in New Issue
Block a user