Cleanup: apply rule of zero
Remove empty destructors, use std::unique_ptr where destructors
only deleted a pointer member. This also closes the memory leak
where the tile cache was never destroyed.
Change-Id: I55007475b7f13a97d8399dd6d4234382106db05b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
| commit | 88018b488a26bf3657960aed75c633bc13eb7aab |
| parent | e70c655366a9c30fcb15e7ed11a73623c7ee9b0c |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Mon, 19 Sep 2022 14:51:59 +0200 |
- M src/location/maps/qgeocodingmanager.cpp
- M src/location/maps/qgeocodingmanager_p.h
- M src/location/maps/qgeocodingmanagerengine.cpp
- M src/location/maps/qgeocodingmanagerengine_p.h
- M src/location/maps/qgeoroutereply.cpp
- M src/location/maps/qgeoroutereply_p.h
- M src/location/maps/qgeorouterequest.cpp
- M src/location/maps/qgeorouterequest_p.h
- M src/location/maps/qgeoroutingmanager.cpp
- M src/location/maps/qgeoroutingmanager_p.h
- M src/location/maps/qgeotiledmappingmanagerengine.cpp
- M src/location/maps/qgeotiledmappingmanagerengine_p_p.h