mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Fix build with Xcode.
This commit is contained in:
parent
2212b55b13
commit
0ca40e9d34
2 changed files with 1 additions and 2 deletions
|
@ -108,7 +108,7 @@ std::optional<StoryItem> Stories::parse(const MTPDstoryItem &data) {
|
|||
const auto date = data.vdate().v;
|
||||
return StoryItem{
|
||||
.id = data.vid().v,
|
||||
.media = *media,
|
||||
.media = { *media },
|
||||
.caption = std::move(caption),
|
||||
.date = date,
|
||||
.privacy = privacy,
|
||||
|
|
|
@ -55,7 +55,6 @@ struct Layout {
|
|||
QRect siblingLeft;
|
||||
QRect siblingRight;
|
||||
|
||||
friend inline auto operator<=>(Layout, Layout) = default;
|
||||
friend inline bool operator==(Layout, Layout) = default;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue