diff options
author | alex <alex.blasche@nokia.com> | 2011-10-04 14:29:40 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-04 09:51:03 +0200 |
commit | cab371fec6116c4c758ad88f7c290c3fde016941 (patch) | |
tree | c95ac70732af41c698f23da6556bf06042c31624 /src/location/maps/qgeomaneuver.h | |
parent | 1d678a1da2f32a1096e46c80a7dd24c26d9f5acf (diff) | |
download | qtlocation-cab371fec6116c4c758ad88f7c290c3fde016941.tar.gz |
QGeoManeuver should use implicit shared data copying
This commit also adds the relevant unit test for QGeoManeuver.
Change-Id: I4a55119f9aedea3d8e7a816225feae809d792ed7
Reviewed-on: http://codereview.qt-project.org/5949
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/location/maps/qgeomaneuver.h')
-rw-r--r-- | src/location/maps/qgeomaneuver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/maps/qgeomaneuver.h b/src/location/maps/qgeomaneuver.h index dd9a9e67..26603fee 100644 --- a/src/location/maps/qgeomaneuver.h +++ b/src/location/maps/qgeomaneuver.h @@ -42,7 +42,7 @@ #ifndef QGEOMANEUVER_H #define QGEOMANEUVER_H -#include <QExplicitlySharedDataPointer> +#include <qshareddata.h> QT_BEGIN_HEADER @@ -104,7 +104,7 @@ public: QGeoCoordinate waypoint() const; private: - QExplicitlySharedDataPointer<QGeoManeuverPrivate> d_ptr; + QSharedDataPointer<QGeoManeuverPrivate> d_ptr; }; QT_END_NAMESPACE |