QRgba: code tidies

Fix the signature of an assignment operator.

Change-Id: I125c0129bb2607e5d8beb932da843a0393f2cfeb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Giuseppe D'Angelo 2020-06-29 14:15:53 +02:00
parent 9db36a7143
commit 6ed9b484da

View File

@ -181,7 +181,7 @@ public:
return rgba;
}
QRgba64 operator=(quint64 _rgba)
QRgba64 &operator=(quint64 _rgba) noexcept
{
rgba = _rgba;
return *this;