Skip to content

Commit

Permalink
Add a necessary virtual destructor in plCompare base class.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Nov 26, 2012
1 parent f7b6f9b commit 4c4eb44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mythtv/programs/mythfrontend/proglist.cpp
Expand Up @@ -1037,9 +1037,9 @@ void ProgLister::FillViewList(const QString &view)

class plCompare : binary_function<const ProgramInfo*, const ProgramInfo*, bool>
{
public:
virtual bool operator()(const ProgramInfo *a, const ProgramInfo *b)
= 0;
public:
virtual bool operator()(const ProgramInfo*, const ProgramInfo*) = 0;
virtual ~plCompare() {}
};

class plTitleSort : public plCompare
Expand Down

0 comments on commit 4c4eb44

Please sign in to comment.