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
@@ -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();