From 2a4dd8b214c30bd73a8da0f7e8e5c900685c571b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Tue, 20 Jun 2023 11:07:43 +0200 Subject: [PATCH] remove m_cancel from itunesmacimporter --- src/library/itunes/itunesmacosimporter.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/library/itunes/itunesmacosimporter.h b/src/library/itunes/itunesmacosimporter.h index 729154163e83..698324f3a571 100644 --- a/src/library/itunes/itunesmacosimporter.h +++ b/src/library/itunes/itunesmacosimporter.h @@ -21,9 +21,5 @@ class ITunesMacOSImporter : public ITunesImporter { ITunesImport importLibrary() override; private: - // The values behind these references are owned by the parent `ITunesFeature`, - // thus there is an implicit contract here that this `ITunesMacOSImporter` cannot - // outlive the feature (which should not happen anyway, since importers are short-lived). - const std::atomic& m_cancelImport; std::unique_ptr m_dao; };