QHash: mark the equality operator for QHashDummyValue constexpr noexcept
Who knows what this may end up being good for. Change-Id: Ib5e73b0170ebba54f87f36e75b7c407f801c52a0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
8f75910dea
commit
36f6bd7cf0
@ -136,7 +136,7 @@ struct QHashDummyValue
|
||||
{
|
||||
};
|
||||
|
||||
inline bool operator==(const QHashDummyValue & /* v1 */, const QHashDummyValue & /* v2 */)
|
||||
constexpr bool operator==(const QHashDummyValue &, const QHashDummyValue &) noexcept
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user