qtipccommon_p.h: fix -Wunused-function

Make isIpcSupported() non-static so Clang doesn't warn that it's
unused.

Amends f79b535f6b303a77fd9c990118c9bc1a165a0dc1.

Pick-to: 6.7
Task-number: QTBUG-126219
Change-Id: I0c99d2196fcec8d7fcd1480d09fbbe176ce365b2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit c0cd2c843c4c08e840e6629668bbf3aac7975e09)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2024-09-16 16:22:28 +02:00 committed by Qt Cherry-pick Bot
parent e2880c7d92
commit b291e7eb46

View File

@ -65,7 +65,7 @@ enum class IpcType {
SystemSemaphore
};
static constexpr bool isIpcSupported(IpcType ipcType, QNativeIpcKey::Type type)
constexpr bool isIpcSupported(IpcType ipcType, QNativeIpcKey::Type type)
{
switch (type) {
case QNativeIpcKey::Type::SystemV: