summaryrefslogtreecommitdiff
path: root/src/location/quickmapitems/qdeclarativerectanglemapitem_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/quickmapitems/qdeclarativerectanglemapitem_p_p.h')
-rw-r--r--src/location/quickmapitems/qdeclarativerectanglemapitem_p_p.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/location/quickmapitems/qdeclarativerectanglemapitem_p_p.h b/src/location/quickmapitems/qdeclarativerectanglemapitem_p_p.h
index 4f76d445..93cce57d 100644
--- a/src/location/quickmapitems/qdeclarativerectanglemapitem_p_p.h
+++ b/src/location/quickmapitems/qdeclarativerectanglemapitem_p_p.h
@@ -61,12 +61,10 @@ QT_BEGIN_NAMESPACE
class Q_LOCATION_PRIVATE_EXPORT QDeclarativeRectangleMapItemPrivate
{
+ Q_DISABLE_COPY_MOVE(QDeclarativeRectangleMapItemPrivate)
public:
- QDeclarativeRectangleMapItemPrivate(QDeclarativeRectangleMapItem &rect) : m_rect(rect)
- {
-
- }
- QDeclarativeRectangleMapItemPrivate(QDeclarativeRectangleMapItemPrivate &other) : m_rect(other.m_rect)
+ QDeclarativeRectangleMapItemPrivate(QDeclarativeRectangleMapItem &rect)
+ : m_rect(rect)
{
}
@@ -87,12 +85,8 @@ public:
class Q_LOCATION_PRIVATE_EXPORT QDeclarativeRectangleMapItemPrivateCPU: public QDeclarativeRectangleMapItemPrivate
{
public:
- QDeclarativeRectangleMapItemPrivateCPU(QDeclarativeRectangleMapItem &rect) : QDeclarativeRectangleMapItemPrivate(rect)
- {
- }
-
- QDeclarativeRectangleMapItemPrivateCPU(QDeclarativeRectangleMapItemPrivate &other)
- : QDeclarativeRectangleMapItemPrivate(other)
+ QDeclarativeRectangleMapItemPrivateCPU(QDeclarativeRectangleMapItem &rect)
+ : QDeclarativeRectangleMapItemPrivate(rect)
{
}