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:
Marc Mutz 2019-07-08 21:55:14 +02:00
parent 8f75910dea
commit 36f6bd7cf0

View File

@ -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;
}