From 2b153ad6cbc065536a658fc821417a5e60e2e32c Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sun, 24 Aug 2014 20:45:16 +0200 Subject: [PATCH] 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 --- src/gui/painting/qregion.cpp | 17 ----------------- 1 file changed, 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); /*