summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeoroutingmanager_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/qgeoroutingmanager_p.h')
-rw-r--r--src/location/maps/qgeoroutingmanager_p.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/location/maps/qgeoroutingmanager_p.h b/src/location/maps/qgeoroutingmanager_p.h
index 5dc86299..bcb9d138 100644
--- a/src/location/maps/qgeoroutingmanager_p.h
+++ b/src/location/maps/qgeoroutingmanager_p.h
@@ -60,13 +60,7 @@ class QGeoRoutingManagerEngine;
class QGeoRoutingManagerPrivate
{
public:
- QGeoRoutingManagerPrivate();
- ~QGeoRoutingManagerPrivate();
-
- QGeoRoutingManagerEngine *engine = nullptr;
-
-private:
- Q_DISABLE_COPY(QGeoRoutingManagerPrivate)
+ std::unique_ptr<QGeoRoutingManagerEngine> engine;
};
QT_END_NAMESPACE