From 6ed9b484da68eed2e580c8de5c88e9831cdcb7a2 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Mon, 29 Jun 2020 14:15:53 +0200 Subject: QRgba: code tidies Fix the signature of an assignment operator. Change-Id: I125c0129bb2607e5d8beb932da843a0393f2cfeb Reviewed-by: Allan Sandfeld Jensen --- src/gui/painting/qrgba64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3