2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Replace mapbox variant with std::variant.

This commit is contained in:
John Preston
2020-08-31 12:14:53 +04:00
parent b3eb41b989
commit 734d834a20
58 changed files with 207 additions and 194 deletions

View File

@@ -865,7 +865,7 @@ void UserpicButton::clearStreaming() {
void UserpicButton::handleStreamingUpdate(Media::Streaming::Update &&update) {
using namespace Media::Streaming;
update.data.match([&](Information &update) {
v::match(update.data, [&](Information &update) {
streamingReady(std::move(update));
}, [&](const PreloadedVideo &update) {
}, [&](const UpdateVideo &update) {