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:
parent
0b10808fb5
commit
ef4e36aa3c
@ -243,7 +243,7 @@ inline QUuid QUuid::fromBytes(const void *bytes, QSysInfo::Endian order) noexcep
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __SIZEOF_INT128__
|
#ifdef __SIZEOF_INT128__
|
||||||
constexpr inline QUuid::QUuid(quint128 uuid, QSysInfo::Endian order) noexcept
|
constexpr QUuid::QUuid(quint128 uuid, QSysInfo::Endian order) noexcept
|
||||||
: QUuid()
|
: QUuid()
|
||||||
{
|
{
|
||||||
if (order == QSysInfo::LittleEndian)
|
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));
|
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 = {};
|
quint128 result = {};
|
||||||
result = data1;
|
result = data1;
|
||||||
|
Loading…
Reference in New Issue
Block a user