diff --git a/src/myx/qt/message_logger.hpp b/src/myx/qt/message_logger.hpp index 1c44d40..4b7639d 100644 --- a/src/myx/qt/message_logger.hpp +++ b/src/myx/qt/message_logger.hpp @@ -19,7 +19,7 @@ namespace qt { class MessageLogger { public: - virtual ~MessageLogger() = default; + virtual ~MessageLogger() noexcept (true) = default; virtual void debug( const QMessageLogContext& context, const QString& ) = 0; virtual void info( const QMessageLogContext& context, const QString& ) = 0; diff --git a/src/myx/qt/message_logger_default.hpp b/src/myx/qt/message_logger_default.hpp index 693ad0d..3912fd4 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: - virtual ~MessageLoggerDefault() {}; + virtual ~MessageLoggerDefault() = default; 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 026a8d1..4b9c2e4 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(); - virtual ~MessageLoggerSyslog(); + virtual ~MessageLoggerSyslog() = default; void debug( const QMessageLogContext& context, const QString& msg ) override; void info( const QMessageLogContext& context, const QString& msg ) override;