mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-02 00:51:10 +00:00
buildfix: make it build with c++11
This commit is contained in:
committed by
Subhransu
parent
89a72b6e9c
commit
8667453efa
@@ -72,7 +72,7 @@ public:
|
||||
auto player = rlottie::Animation::loadFromFile(fileName);
|
||||
if (!player) return help();
|
||||
|
||||
auto buffer = std::make_unique<uint32_t[]>(w * h);
|
||||
auto buffer = std::unique_ptr<uint32_t[]>(new uint32_t[w * h]);
|
||||
size_t frameCount = player->totalFrame();
|
||||
|
||||
GifBuilder builder(baseName.data(), w, h);
|
||||
|
||||
Reference in New Issue
Block a user