Skip to content

Properly implement implicit sharing of WeatherForecast

Nicolas Fella requested to merge work/fix into master

Make the private class inherit from QSharedData and use a QSharedDataPointer to hold the private data.

This allows the users to pass WeatherForecast instead of QExplicitlySharedDataPointer

Merge request reports