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
Marc Mutz 2014-08-24 20:45:16 +02:00
parent 15c32361d9
commit 2b153ad6cb
1 changed files with 0 additions and 17 deletions

View File

@ -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);
/*