LGTM: [skip ci] fix: Non-virtual destructor in base class

This commit is contained in:
wmayer
2020-07-24 19:30:12 +02:00
parent c162037476
commit e079e7a7bb
4 changed files with 5 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ class GuiExport ExpressionBinding
{
public:
ExpressionBinding();
~ExpressionBinding();
virtual ~ExpressionBinding();
virtual void bind(const App::ObjectIdentifier & _path);
virtual void bind(const App::Property & prop);

View File

@@ -137,7 +137,7 @@ protected:
public:
CDxfRead(const char* filepath); // this opens the file
~CDxfRead(); // this closes the file
virtual ~CDxfRead(); // this closes the file
bool Failed(){return m_fail;}
void DoRead(const bool ignore_errors = false); // this reads the file and calls the following functions

View File

@@ -288,7 +288,7 @@ protected:
public:
CDxfRead(const char* filepath); // this opens the file
~CDxfRead(); // this closes the file
virtual ~CDxfRead(); // this closes the file
bool Failed(){return m_fail;}
void DoRead(const bool ignore_errors = false); // this reads the file and calls the following functions

View File

@@ -122,7 +122,7 @@ private:
bool ReadVertex(double *pVertex, bool *bulge_found, double *bulge);
void OnReadArc(double start_angle, double end_angle, double radius, const double* c);
void OnReadCircle(const double* c, double radius);
void OnReadEllipse(const double* c, const double* m, double ratio, double start_angle, double end_angle);
void OnReadEllipse(const double* c, const double* m, double ratio, double start_angle, double end_angle);
bool ReadInsert();
void get_line();
@@ -134,7 +134,7 @@ protected:
public:
CDxfRead(const char* filepath); // this opens the file
~CDxfRead(); // this closes the file
virtual ~CDxfRead(); // this closes the file
bool Failed(){return m_fail;}
void DoRead(const bool ignore_errors = false); // this reads the file and calls the following functions