Skip to content

Commit

Permalink
Add virtual to abstract overridden destructor
Browse files Browse the repository at this point in the history
This is redundant, but required by SWIG.
  • Loading branch information
ufleisch committed Mar 23, 2024
1 parent 0896fb9 commit 4f8427c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taglib/fileref.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ namespace TagLib {
/*!
* Destroys this StreamTypeResolver instance.
*/
~StreamTypeResolver() override = 0;
virtual ~StreamTypeResolver() override = 0; // virtual is needed by SWIG

StreamTypeResolver(const StreamTypeResolver &) = delete;
StreamTypeResolver &operator=(const StreamTypeResolver &) = delete;
Expand Down

0 comments on commit 4f8427c

Please sign in to comment.