QRegionPrivate: remove copy ctor and assignment operator
They're identical to the compiler-generated ones, and probably inhibit move operators here and there. Change-Id: I918f2946f6b6aa49aa883420dc87df44013938a5 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>bb10
parent
15c32361d9
commit
2b153ad6cb
|
|
@ -1079,23 +1079,6 @@ struct QRegionPrivate {
|
|||
innerArea = r.width() * r.height();
|
||||
}
|
||||
|
||||
inline QRegionPrivate(const QRegionPrivate &r) {
|
||||
rects = r.rects;
|
||||
numRects = r.numRects;
|
||||
extents = r.extents;
|
||||
innerRect = r.innerRect;
|
||||
innerArea = r.innerArea;
|
||||
}
|
||||
|
||||
inline QRegionPrivate &operator=(const QRegionPrivate &r) {
|
||||
rects = r.rects;
|
||||
numRects = r.numRects;
|
||||
extents = r.extents;
|
||||
innerRect = r.innerRect;
|
||||
innerArea = r.innerArea;
|
||||
return *this;
|
||||
}
|
||||
|
||||
void intersect(const QRect &r);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue