diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-06-29 14:15:53 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-06-30 18:54:57 +0200 |
commit | 6ed9b484da68eed2e580c8de5c88e9831cdcb7a2 (patch) | |
tree | 3c00be3bb2ac13a92a4506db95f288a445b634e6 | |
parent | 9db36a714315fbdb1a5bc3b4d99dbb0e8f6d594f (diff) |
QRgba: code tidies
Fix the signature of an assignment operator.
Change-Id: I125c0129bb2607e5d8beb932da843a0393f2cfeb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | src/gui/painting/qrgba64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qrgba64.h b/src/gui/painting/qrgba64.h index 0e0b567890..30d5e244b8 100644 --- a/src/gui/painting/qrgba64.h +++ b/src/gui/painting/qrgba64.h @@ -181,7 +181,7 @@ public: return rgba; } - QRgba64 operator=(quint64 _rgba) + QRgba64 &operator=(quint64 _rgba) noexcept { rgba = _rgba; return *this; |