diff --git a/src/test/ParserTest/main.cpp b/src/test/ParserTest/main.cpp index 67a217937..ee0c65a98 100644 --- a/src/test/ParserTest/main.cpp +++ b/src/test/ParserTest/main.cpp @@ -32,7 +32,7 @@ #include "../qmuparser/qmuparsertest.h" //--------------------------------------------------------------------------------------------------------------------- -void testMessageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg) +inline void testMessageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg) { QByteArray localMsg = msg.toLocal8Bit(); switch (type)