Skip to content

Commit

Permalink
Declare AbstractFileStorage destructor virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
glassez committed Jun 10, 2021
1 parent 9f03598 commit 6c66d02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/base/bittorrent/abstractfilestorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c66d02

Please sign in to comment.