Fix compilation error on old compilers.

This commit is contained in:
levlam 2021-07-02 19:51:07 +03:00
parent a1cc6d3ef6
commit 22f45e0a91

View File

@ -689,7 +689,7 @@ Result<PasswordManager::PasswordInputSettings> PasswordManager::get_password_inp
settings->flags_ |= telegram_api::account_passwordInputSettings::EMAIL_MASK; settings->flags_ |= telegram_api::account_passwordInputSettings::EMAIL_MASK;
settings->email_ = std::move(update_settings.recovery_email_address); settings->email_ = std::move(update_settings.recovery_email_address);
} }
return settings; return std::move(settings);
} }
void PasswordManager::do_update_password_settings_impl(UpdateSettings update_settings, PasswordState state, void PasswordManager::do_update_password_settings_impl(UpdateSettings update_settings, PasswordState state,