diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2021-07-13 17:28:49 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-14 14:00:04 +0000 |
commit | 8383cb46c02a8fc3a99ede63698f6c6195ca7d27 (patch) | |
tree | 28605b5e66f84cb65fbc4a91fd2bfe64896f4725 /src | |
parent | ddd709c0f8396a5ca2b6ecbadd2c28230b011c4f (diff) | |
download | qtlocation-8383cb46c02a8fc3a99ede63698f6c6195ca7d27.tar.gz |
Revert "QtPositioning: add virtual destructor to QGeoShape"
This reverts commit 55739ad4128fc70ca9045fba08e8d0f7b52e28c2.
As shown by the API review, it's not a good idea to have a
polymorphic copiable class.
Change-Id: I4aad974c9c4617711ef314acd1ace9fc4756b549
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit b1bc3ef2900233f5e4f98055c2c40cc54232894f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/positioning/qgeoshape.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/positioning/qgeoshape.h b/src/positioning/qgeoshape.h index 917529ef..cff8fdd1 100644 --- a/src/positioning/qgeoshape.h +++ b/src/positioning/qgeoshape.h @@ -61,7 +61,7 @@ class Q_POSITIONING_EXPORT QGeoShape public: QGeoShape(); QGeoShape(const QGeoShape &other); - virtual ~QGeoShape(); + ~QGeoShape(); enum ShapeType { UnknownType, |