Fix unused variable warning

This commit is contained in:
BlackMark committed 2020-07-05 11:16:26 +02:00
1 parent 9099b4ead3
commit 4469cfb114
1 file changed
+1 -1
+1 -1
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";