QUuid: remove pointless inline keyword

constexpr functions are implicitly inline

Found during API review.

Pick-to: 6.6
Change-Id: I94daa0a67336fa99a1465115edb83e545580a78a
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Ivan Solovev 2023-07-13 15:34:00 +02:00
parent 0b10808fb5
commit ef4e36aa3c

View File

@ -243,7 +243,7 @@ inline QUuid QUuid::fromBytes(const void *bytes, QSysInfo::Endian order) noexcep
}
#ifdef __SIZEOF_INT128__
constexpr inline QUuid::QUuid(quint128 uuid, QSysInfo::Endian order) noexcept
constexpr QUuid::QUuid(quint128 uuid, QSysInfo::Endian order) noexcept
: QUuid()
{
if (order == QSysInfo::LittleEndian)
@ -255,7 +255,7 @@ constexpr inline QUuid::QUuid(quint128 uuid, QSysInfo::Endian order) noexcept
data4[i] = uchar(uuid >> (56 - i * 8));
}
constexpr inline quint128 QUuid::toUInt128(QSysInfo::Endian order) const noexcept
constexpr quint128 QUuid::toUInt128(QSysInfo::Endian order) const noexcept
{
quint128 result = {};
result = data1;