diff --git a/src/myx/qt/message_logger_default.hpp b/src/myx/qt/message_logger_default.hpp index 140d0ce..693ad0d 100644 --- a/src/myx/qt/message_logger_default.hpp +++ b/src/myx/qt/message_logger_default.hpp @@ -15,7 +15,7 @@ namespace qt { class MessageLoggerDefault : public MessageLogger { public: - ~MessageLoggerDefault() {}; + virtual ~MessageLoggerDefault() {}; void debug( const QMessageLogContext& context, const QString& msg ) override; void info( const QMessageLogContext& context, const QString& msg ) override; diff --git a/src/myx/qt/message_logger_syslog.hpp b/src/myx/qt/message_logger_syslog.hpp index 501b928..026a8d1 100644 --- a/src/myx/qt/message_logger_syslog.hpp +++ b/src/myx/qt/message_logger_syslog.hpp @@ -16,7 +16,7 @@ class MessageLoggerSyslog : public MessageLogger { public: MessageLoggerSyslog(); - ~MessageLoggerSyslog(); + virtual ~MessageLoggerSyslog(); void debug( const QMessageLogContext& context, const QString& msg ) override; void info( const QMessageLogContext& context, const QString& msg ) override;