From 04d06e5b12cb8b8060bf3ba2a9235981f386caa9 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 11 Oct 2022 23:35:00 +0400 Subject: [PATCH] Fix build with Xcode. --- Telegram/SourceFiles/apiwrap.h | 2 +- Telegram/SourceFiles/data/data_shared_media.h | 1 + Telegram/lib_base | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/apiwrap.h b/Telegram/SourceFiles/apiwrap.h index 481f36d5e..2585b3056 100644 --- a/Telegram/SourceFiles/apiwrap.h +++ b/Telegram/SourceFiles/apiwrap.h @@ -585,7 +585,7 @@ private: MsgId aroundId = 0; SliceType sliceType = {}; - friend inline constexpr auto operator<=>( + friend inline auto operator<=>( const SharedMediaRequest&, const SharedMediaRequest&) = default; }; diff --git a/Telegram/SourceFiles/data/data_shared_media.h b/Telegram/SourceFiles/data/data_shared_media.h index 2cedd8d3d..d9d2d8c63 100644 --- a/Telegram/SourceFiles/data/data_shared_media.h +++ b/Telegram/SourceFiles/data/data_shared_media.h @@ -9,6 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "storage/storage_shared_media.h" #include "base/weak_ptr.h" +#include "base/qt/qt_compare.h" #include "data/data_sparse_ids.h" namespace Main { diff --git a/Telegram/lib_base b/Telegram/lib_base index 44923c8b1..8d9d8e86b 160000 --- a/Telegram/lib_base +++ b/Telegram/lib_base @@ -1 +1 @@ -Subproject commit 44923c8b12bab26c707e8a7077ed82541a444f71 +Subproject commit 8d9d8e86b9abea58ed5a218e60d9f79b47085c63