From f619afc4c6641694ecc140fb0f9e8ccafcc0125a Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 16 Apr 2017 00:45:25 +0300 Subject: [PATCH] Alpha 1.0.33: Fix build for Xcode. --- Telegram/SourceFiles/auth_session.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/auth_session.cpp b/Telegram/SourceFiles/auth_session.cpp index 5c446e669..1c8852b76 100644 --- a/Telegram/SourceFiles/auth_session.cpp +++ b/Telegram/SourceFiles/auth_session.cpp @@ -90,10 +90,10 @@ void AuthSessionData::constructFromSerialized(const QByteArray &serialized) { AuthSession::AuthSession(UserId userId) : _userId(userId) +, _autoLockTimer([this] { checkAutoLock(); }) , _api(std::make_unique()) , _downloader(std::make_unique()) -, _notifications(std::make_unique(this)) -, _autoLockTimer([this] { checkAutoLock(); }) { +, _notifications(std::make_unique(this)) { Expects(_userId != 0); _saveDataTimer.setCallback([this] { Local::writeUserSettings();