From 8a91c949c215ad6552d4f02f2358440311d5f5fe Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 3 Aug 2022 20:41:01 +0300 Subject: [PATCH] Fix build with GCC and Clang. --- .../SourceFiles/chat_helpers/emoji_suggestions_widget.h | 8 +++++++- Telegram/lib_base | 2 +- Telegram/lib_ui | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.h b/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.h index 9e0319bfb..8e2c5076a 100644 --- a/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.h +++ b/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.h @@ -163,11 +163,17 @@ public: const QString &replacement, const QString &customEmojiData)> callback); + static not_null Init( + not_null outer, + not_null field, + not_null session) { + return Init(outer, field, session, {}); + } static not_null Init( not_null outer, not_null field, not_null session, - const Options &options = Options()); + const Options &options); private: void handleCursorPositionChange(); diff --git a/Telegram/lib_base b/Telegram/lib_base index 500731e1f..d69b49fdd 160000 --- a/Telegram/lib_base +++ b/Telegram/lib_base @@ -1 +1 @@ -Subproject commit 500731e1f9a4a8b98e388e7a06b91b41d8df7211 +Subproject commit d69b49fdd7bcb0b3414bc66fb34606dd56f695ba diff --git a/Telegram/lib_ui b/Telegram/lib_ui index a7117df83..4768e7ee0 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit a7117df837db39e8d2e4590dd6b0434415f79264 +Subproject commit 4768e7ee03aa22f64f73dc13016d5bd94a047496