Fix unused variable warning

This commit is contained in:
BlackMark 2020-07-05 11:16:26 +02:00
parent 9099b4ead3
commit 4469cfb114

View File

@ -6,7 +6,7 @@
#include <QString>
#include <QTextStream>
void logToFile(QtMsgType msgType, const QMessageLogContext& msgContext, const QString& msg)
void logToFile(QtMsgType msgType, [[maybe_unused]] const QMessageLogContext& msgContext, const QString& msg)
{
constexpr auto LOG_FILE = "logfile.log";