Fix compilation issue

This commit is contained in:
Andrea Cavalli 2021-07-02 18:56:39 +02:00
parent e8c9db61d0
commit 265a85c6cc

View File

@ -689,7 +689,7 @@ Result<PasswordManager::PasswordInputSettings> PasswordManager::get_password_inp
settings->flags_ |= telegram_api::account_passwordInputSettings::EMAIL_MASK;
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,