diff --git a/src/corelib/ipc/qtipccommon_p.h b/src/corelib/ipc/qtipccommon_p.h index 72762c5ba73..8836cd64421 100644 --- a/src/corelib/ipc/qtipccommon_p.h +++ b/src/corelib/ipc/qtipccommon_p.h @@ -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: