Add virtual destructors to base classes
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
struct LyricsFetcher
|
||||
{
|
||||
typedef std::pair<bool, std::string> Result;
|
||||
|
||||
|
||||
virtual ~LyricsFetcher() { }
|
||||
|
||||
virtual const char *name() const = 0;
|
||||
virtual Result fetch(const std::string &artist, const std::string &title);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user