mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +00:00
Fix build with Xcode.
This commit is contained in:
@@ -108,7 +108,7 @@ std::optional<StoryItem> Stories::parse(const MTPDstoryItem &data) {
|
|||||||
const auto date = data.vdate().v;
|
const auto date = data.vdate().v;
|
||||||
return StoryItem{
|
return StoryItem{
|
||||||
.id = data.vid().v,
|
.id = data.vid().v,
|
||||||
.media = *media,
|
.media = { *media },
|
||||||
.caption = std::move(caption),
|
.caption = std::move(caption),
|
||||||
.date = date,
|
.date = date,
|
||||||
.privacy = privacy,
|
.privacy = privacy,
|
||||||
|
@@ -55,7 +55,6 @@ struct Layout {
|
|||||||
QRect siblingLeft;
|
QRect siblingLeft;
|
||||||
QRect siblingRight;
|
QRect siblingRight;
|
||||||
|
|
||||||
friend inline auto operator<=>(Layout, Layout) = default;
|
|
||||||
friend inline bool operator==(Layout, Layout) = default;
|
friend inline bool operator==(Layout, Layout) = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user