diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-07-29 16:01:49 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-08-19 06:15:03 +0200 |
commit | 4c4ef4ae797549ac4597d4c8aeba1533c8e4c1f6 (patch) | |
tree | 1326c7a56ab307705b04babd25c22fc7214b3850 /src/location/maps/qgeocameratiles.cpp | |
parent | 9f40dfe98a7d7fc37e267160ce01a8e9dbd2282c (diff) | |
download | qtlocation-4c4ef4ae797549ac4597d4c8aeba1533c8e4c1f6.tar.gz |
Cleanup private map types
Use member initialization and remove any explicit implementation of the
special member functions if they are just the default.
Remove some unnecessary Q_DISABLE_COPY that prevents compiler-generated
versions of the special member functions.
Task-number: QTBUG-105206
Pick-to: 6.2
Change-Id: I206abd07acbbcb863a4d8099a5d8b7ff1f641079
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/location/maps/qgeocameratiles.cpp')
-rw-r--r-- | src/location/maps/qgeocameratiles.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/location/maps/qgeocameratiles.cpp b/src/location/maps/qgeocameratiles.cpp index 92d3b183..de72df4d 100644 --- a/src/location/maps/qgeocameratiles.cpp +++ b/src/location/maps/qgeocameratiles.cpp @@ -178,18 +178,6 @@ const QSet<QGeoTileSpec>& QGeoCameraTiles::createTiles() return d_ptr->m_tiles; } -QGeoCameraTilesPrivate::QGeoCameraTilesPrivate() -: m_mapVersion(-1), - m_tileSize(0), - m_intZoomLevel(0), - m_sideLength(0), - m_dirtyGeometry(false), - m_dirtyMetadata(false), - m_viewExpansion(1.0) -{ -} - -QGeoCameraTilesPrivate::~QGeoCameraTilesPrivate() {} void QGeoCameraTilesPrivate::updateMetadata() { |