From e9ffd33d1adb5d861d9104a8e1e93dc3f4e7125a Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 5 Jan 2023 15:52:00 +0200 Subject: [PATCH] Fix Clang warning. --- src/test/ParserTest/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)