Skip to content

Commit 3884b4f

Browse files
committed
GUI: Make report class destructors virtual.
1 parent 58c21dd commit 3884b4f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

gui/csvreport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class CsvReport : public Report
3636
{
3737
public:
3838
CsvReport(const QString &filename, QObject * parent = 0);
39-
~CsvReport();
39+
virtual ~CsvReport();
4040

4141
/**
4242
* @brief Create the report (file).

gui/txtreport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TxtReport : public Report
3434
{
3535
public:
3636
TxtReport(const QString &filename, QObject * parent = 0);
37-
~TxtReport();
37+
virtual ~TxtReport();
3838

3939
/**
4040
* @brief Create the report (file).

gui/xmlreport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class XmlReport : public Report
3535
{
3636
public:
3737
XmlReport(const QString &filename, QObject * parent = 0);
38-
~XmlReport();
38+
virtual ~XmlReport();
3939

4040
/**
4141
* @brief Create the report (file).

0 commit comments

Comments
 (0)