mirror of
https://github.com/LX3JL/xlxd.git
synced 2025-12-06 07:42:01 +01:00
CDmridDir destructor should be virtual
CDmridDir is a base class for CDmridDirHttp and CDmridDirFile, so its destructor should be marked virtual to prevent undefined behavior.
This commit is contained in:
parent
6752c7b254
commit
af7ed717b4
|
|
@ -50,7 +50,7 @@ public:
|
|||
CDmridDir();
|
||||
|
||||
// destructor
|
||||
~CDmridDir();
|
||||
virtual ~CDmridDir();
|
||||
|
||||
// init & close
|
||||
virtual bool Init(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue