buildfix: make it build with c++11

This commit is contained in:
subhransu mohanty
2019-05-20 13:18:12 +09:00
committed by Subhransu
parent 89a72b6e9c
commit 8667453efa

View File

@@ -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);