mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
UniquePointer > std_::unique_ptr, MakeUnique > std_::make_unique.
This commit is contained in:
@@ -170,7 +170,7 @@ private:
|
||||
HistoryInner *_parent;
|
||||
|
||||
};
|
||||
UniquePointer<BotAbout> _botAbout;
|
||||
std_::unique_ptr<BotAbout> _botAbout;
|
||||
|
||||
HistoryWidget *_widget = nullptr;
|
||||
ScrollArea *_scroll = nullptr;
|
||||
@@ -362,7 +362,7 @@ private:
|
||||
bool _forceReply = false;
|
||||
|
||||
QPoint _lastMousePos;
|
||||
UniquePointer<ReplyKeyboard> _impl;
|
||||
std_::unique_ptr<ReplyKeyboard> _impl;
|
||||
|
||||
class Style : public ReplyKeyboard::Style {
|
||||
public:
|
||||
@@ -1011,7 +1011,7 @@ private:
|
||||
UserData *_inlineBot = nullptr;
|
||||
QString _inlineBotUsername;
|
||||
mtpRequestId _inlineBotResolveRequestId = 0;
|
||||
UniquePointer<IconedButton> _inlineBotCancel;
|
||||
std_::unique_ptr<IconedButton> _inlineBotCancel;
|
||||
void inlineBotResolveDone(const MTPcontacts_ResolvedPeer &result);
|
||||
bool inlineBotResolveFail(QString name, const RPCError &error);
|
||||
|
||||
|
Reference in New Issue
Block a user