Alpha 1.0.33: Fix build for Xcode.

This commit is contained in:
John Preston 2017-04-16 00:45:25 +03:00
parent 7ad7028880
commit f619afc4c6
1 changed files with 2 additions and 2 deletions

View File

@ -90,10 +90,10 @@ void AuthSessionData::constructFromSerialized(const QByteArray &serialized) {
AuthSession::AuthSession(UserId userId) AuthSession::AuthSession(UserId userId)
: _userId(userId) : _userId(userId)
, _autoLockTimer([this] { checkAutoLock(); })
, _api(std::make_unique<ApiWrap>()) , _api(std::make_unique<ApiWrap>())
, _downloader(std::make_unique<Storage::Downloader>()) , _downloader(std::make_unique<Storage::Downloader>())
, _notifications(std::make_unique<Window::Notifications::System>(this)) , _notifications(std::make_unique<Window::Notifications::System>(this)) {
, _autoLockTimer([this] { checkAutoLock(); }) {
Expects(_userId != 0); Expects(_userId != 0);
_saveDataTimer.setCallback([this] { _saveDataTimer.setCallback([this] {
Local::writeUserSettings(); Local::writeUserSettings();