From ca6abe31a0ab668f3cbc78a2c899189695da2bc8 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 2 Feb 2023 00:28:01 +0100 Subject: [PATCH] Fix compilation with MSVC Apparently the move c'tor isn't available unless explicitly specified leading to errors when `SegmentData` is used in `std::vector`. --- matroska/matroskacontainer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/matroska/matroskacontainer.cpp b/matroska/matroskacontainer.cpp index 3c3762f..ee40c15 100644 --- a/matroska/matroskacontainer.cpp +++ b/matroska/matroskacontainer.cpp @@ -822,6 +822,7 @@ struct SegmentData { , sizeDenotationLength(0) { } + SegmentData(SegmentData&&) = default; /// \brief whether CRC-32 checksum is present bool hasCrc32;