Fix build with GCC and Clang.

This commit is contained in:
John Preston 2022-08-03 20:41:01 +03:00
parent 0921ae283b
commit 8a91c949c2
3 changed files with 9 additions and 3 deletions

View File

@ -163,11 +163,17 @@ public:
const QString &replacement,
const QString &customEmojiData)> callback);
static not_null<SuggestionsController*> Init(
not_null<QWidget*> outer,
not_null<Ui::InputField*> field,
not_null<Main::Session*> session) {
return Init(outer, field, session, {});
}
static not_null<SuggestionsController*> Init(
not_null<QWidget*> outer,
not_null<Ui::InputField*> field,
not_null<Main::Session*> session,
const Options &options = Options());
const Options &options);
private:
void handleCursorPositionChange();

@ -1 +1 @@
Subproject commit 500731e1f9a4a8b98e388e7a06b91b41d8df7211
Subproject commit d69b49fdd7bcb0b3414bc66fb34606dd56f695ba

@ -1 +1 @@
Subproject commit a7117df837db39e8d2e4590dd6b0434415f79264
Subproject commit 4768e7ee03aa22f64f73dc13016d5bd94a047496