Declare destructor virtual for IMetarDecoderPart

This commit is contained in:
Roland Winklmeier
2018-08-07 14:42:16 +02:00
committed by Klaus Basan
parent a36023f6d8
commit 6a8658f04c

View File

@@ -48,6 +48,8 @@ namespace BlackMisc
class IMetarDecoderPart
{
public:
virtual ~IMetarDecoderPart();
protected:
virtual bool isRepeatable() const { return false; }
virtual const QRegularExpression &getRegExp() const = 0;
@@ -92,6 +94,9 @@ namespace BlackMisc
}
};
IMetarDecoderPart::~IMetarDecoderPart()
{ }
class CMetarDecoderReportType : public IMetarDecoderPart
{
protected: