diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-08-24 20:45:16 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2014-08-26 20:47:41 +0200 |
commit | 2b153ad6cbc065536a658fc821417a5e60e2e32c (patch) | |
tree | fd1b731e80af1c37c4fe16e2ce13b3619110c63b /src/gui/painting/qregion.cpp | |
parent | 15c32361d9469138edda9c6c7d9b3d3663081820 (diff) |
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>
Diffstat (limited to 'src/gui/painting/qregion.cpp')
-rw-r--r-- | src/gui/painting/qregion.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gui/painting/qregion.cpp b/src/gui/painting/qregion.cpp index 20c62fdd9d..a37e0f530a 100644 --- a/src/gui/painting/qregion.cpp +++ b/src/gui/painting/qregion.cpp @@ -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); /* |