Fix a compiler warning: not defining a virtual destructor results in undefined behavior

This commit is contained in:
Erik Hofman 2021-04-15 10:05:05 +02:00
parent 986867f5c5
commit 93299bf191

View File

@ -31,6 +31,8 @@ namespace simgear
class IReceiver : public SGReferenced
{
public:
virtual ~IReceiver() = default;
/// Receive notification - must be implemented
virtual ReceiptStatus Receive(INotification& message) = 0;
@ -47,4 +49,4 @@ namespace simgear
}
}
#endif
#endif