From 6c66d02aff8f0dcab85e46a73621a245e7883df0 Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Tue, 8 Jun 2021 18:25:00 +0300 Subject: [PATCH] Declare AbstractFileStorage destructor virtual --- src/base/bittorrent/abstractfilestorage.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/base/bittorrent/abstractfilestorage.h b/src/base/bittorrent/abstractfilestorage.h index 985beb0ff..b13cb5b52 100644 --- a/src/base/bittorrent/abstractfilestorage.h +++ b/src/base/bittorrent/abstractfilestorage.h @@ -40,6 +40,8 @@ namespace BitTorrent Q_DECLARE_TR_FUNCTIONS(AbstractFileStorage) public: + virtual ~AbstractFileStorage() = default; + virtual int filesCount() const = 0; virtual QString filePath(int index) const = 0; virtual QString fileName(int index) const = 0;