Fix unused variable warning
This commit is contained in:
parent
9099b4ead3
commit
4469cfb114
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user