Skip to content

Commit

Permalink
Fix minor compiler warning from Clang
Browse files Browse the repository at this point in the history
Fixes:
.../qcolorspace_p.h:70:25: warning: explicitly defaulted copy assignment operator is implicitly deleted [-Wdefaulted-function-deleted]
    QColorSpacePrivate &operator=(const QColorSpacePrivate &other) = default;
                        ^
.../qcolorspace_p.h:63:28: note: copy assignment operator of 'QColorSpacePrivate' is implicitly deleted because base class 'QSharedData' has an inaccessible copy assignment operator
class QColorSpacePrivate : public QSharedData
                           ^

Change-Id: I20d453279ec2cb8b9b9d1364762c6e560d6f843d
Reviewed-by: Simon Hausmann <[email protected]>
  • Loading branch information
krf committed May 3, 2019
1 parent e929808 commit b5547e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gui/painting/qcolorspace_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ class QColorSpacePrivate : public QSharedData
QColorSpacePrivate(QColorSpace::Gamut gamut, QColorSpace::TransferFunction fun, float gamma);
QColorSpacePrivate(const QColorSpacePrimaries &primaries, QColorSpace::TransferFunction fun, float gamma);
QColorSpacePrivate(const QColorSpacePrivate &other) = default;
QColorSpacePrivate &operator=(const QColorSpacePrivate &other) = default;

void initialize();
void setToXyzMatrix();
Expand Down

0 comments on commit b5547e4

Please sign in to comment.