Address C5205 compiler warning

Recent Visual Studio 2019 suggests that auto-generated base virtual
class destructor is non-virtual resulting in undefined behavior.

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2020-08-20 12:13:57 +02:00
parent b701f48fd3
commit 1eb3292770
2 changed files with 5 additions and 0 deletions

View File

@ -95,6 +95,7 @@ class COperation
{
public:
COperation(int iTicks = 0);
virtual ~COperation();
virtual HRESULT Execute(CSession *pSession) = 0;

View File

@ -34,6 +34,10 @@ COperation::COperation(int iTicks) :
{
}
COperation::~COperation()
{
}
////////////////////////////////////////////////////////////////////////////
// COpTypeSingleString